{ "$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 }