Documentation ¶
Index ¶
Constants ¶
View Source
const ( // LogLevelFlagName is the flag name used for setting the default log level. LogLevelFlagName = "log-level" // LogLevelEnvKey is the env var name used for setting the default log level. LogLevelEnvKey = "LOG_LEVEL" // LogLevelFlagShorthand is the shorthand flag name used for setting the default log level. LogLevelFlagShorthand = "l" // LogLevelPrefixFlagUsage is the usage text for the log level flag. LogLevelPrefixFlagUsage = "Sets logging levels for individual modules as well as the default level. `+" + "`The format of the string is as follows: module1=level1:module2=level2:defaultLevel. `+" + "`Supported levels are: CRITICAL, ERROR, WARNING, INFO, DEBUG." + "`Example: oidc4vp=INFO:oidc4vp-service=WARNING:INFO. `+" + `Defaults to info if not set. Setting to debug may adversely impact performance. Alternatively, this can be ` + "set with the following environment variable: " + LogLevelEnvKey )
Variables ¶
This section is empty.
Functions ¶
func SetDefaultLogLevel ¶
SetDefaultLogLevel sets the default log level.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.