mirror of
https://github.com/mudler/LocalAI.git
synced 2025-12-25 15:39:49 -05:00
8 lines
456 B
Go
8 lines
456 B
Go
package cliContext
|
|
|
|
type Context struct {
|
|
Debug bool `env:"LOCALAI_DEBUG,DEBUG" default:"false" hidden:"" help:"DEPRECATED, use --log-level=debug instead. Enable debug logging"`
|
|
LogLevel *string `env:"LOCALAI_LOG_LEVEL" enum:"error,warn,info,debug,trace" help:"Set the level of logs to output [${enum}]"`
|
|
LogFormat *string `env:"LOCALAI_LOG_FORMAT" default:"default" enum:"default,text,json" help:"Set the format of logs to output [${enum}]"`
|
|
}
|