Some checks failed
CI / Run lints and checks (push) Failing after 47s
CI / Run tests (push) Failing after 1s
CI / Run race tests (push) Failing after 5s
CI / Build CLI docs (push) Has been skipped
CI / Run buf actions (push) Failing after 5s
CodeQL / Analyze (go) (push) Failing after 3s
CodeQL / Analyze (javascript) (push) Failing after 2s
Docker Image Scanners / scanners (push) Failing after 3s
Format / format (push) Failing after 3s
Synchronize Issue Labels / Synchronize Issue Labels (push) Has been skipped
CI / Generate release (push) Has been skipped
CI / Draft newsletter (push) Has been skipped
CI / Pending approval Slack notification (push) Has been skipped
CI / Send newsletter (push) Has been skipped
25 lines
836 B
JSON
25 lines
836 B
JSON
{
|
|
"$id": "https://raw.githubusercontent.com/ory/x/master/.schemas/logrusx/viper.schema.json",
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Log",
|
|
"description": "Configure logging using the following options. Logging will always be sent to stdout and stderr.",
|
|
"type": "object",
|
|
"properties": {
|
|
"level": {
|
|
"type": "string",
|
|
"default": "info",
|
|
"enum": ["panic", "fatal", "error", "warn", "info", "debug"],
|
|
"title": "Level",
|
|
"description": "Debug enables stack traces on errors. Can also be set using environment variable LOG_LEVEL."
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"default": "text",
|
|
"enum": ["text", "json"],
|
|
"title": "Format",
|
|
"description": "The log format can either be text or JSON."
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|