Skip to content

Commit

Permalink
Change logging levels to strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktBurger committed Oct 11, 2023
1 parent 3bcbfcd commit a744a4e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions schemas/component_optional.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@
{
"name": "level",
"schema": {
"type": "integer",
"multipleOf": 10,
"minimum": 0,
"maximum": 100
"type": "string",
"enum": ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"]
},
"description": "The logging level, for a description of the different levels see https://docs.python.org/3/library/logging.html#logging-levels.",
"required": true
}
],
Expand Down

0 comments on commit a744a4e

Please sign in to comment.