mirror of
https://github.com/stashapp/stash.git
synced 2025-12-15 12:52:38 +01:00
add missing trace loglevel (#2007)
This commit is contained in:
parent
7547a1dd39
commit
aa50dbf5e2
2 changed files with 3 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
scalar Time
|
||||
|
||||
enum LogLevel {
|
||||
Trace
|
||||
Debug
|
||||
Info
|
||||
Progress
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@ func getLogLevel(logType string) models.LogLevel {
|
|||
switch logType {
|
||||
case "progress":
|
||||
return models.LogLevelProgress
|
||||
case "trace":
|
||||
return models.LogLevelTrace
|
||||
case "debug":
|
||||
return models.LogLevelDebug
|
||||
case "info":
|
||||
|
|
|
|||
Loading…
Reference in a new issue