github.com/icyphox/x@v0.0.355-0.20220311094250-029bd783e8b8/.schemas/logrusx/viper.schema.json (about)

     1  {
     2    "$id": "https://raw.githubusercontent.com/ory/x/master/.schemas/logrusx/viper.schema.json",
     3    "$schema": "http://json-schema.org/draft-07/schema#",
     4    "title": "Log",
     5    "description": "Configure logging using the following options. Logging will always be sent to stdout and stderr.",
     6    "type": "object",
     7    "properties": {
     8      "level": {
     9        "type": "string",
    10        "default": "info",
    11        "enum": [
    12          "panic",
    13          "fatal",
    14          "error",
    15          "warn",
    16          "info",
    17          "debug"
    18        ],
    19        "title": "Level",
    20        "description": "Debug enables stack traces on errors. Can also be set using environment variable LOG_LEVEL."
    21      },
    22      "format": {
    23        "type": "string",
    24        "default": "text",
    25        "enum": [
    26          "text",
    27          "json"
    28        ],
    29        "title": "Format",
    30        "description": "The log format can either be text or JSON."
    31      }
    32    },
    33    "additionalProperties": false
    34  }