# Functions
AsJSON specifies to log the output as JSON.
Configure configures the logp package.
DefaultConfig returns the default config options.
DevelopmentSetup configures the logger in development mode at debug level.
HasSelector returns true if the given selector was explicitly set.
IsDebug returns true if the given selector would be logged.
L returns an unnamed global logger.
NewLevel 更加string生成Level.
NewLogger returns a new Logger labeled with the name of the selector.
ObserverLogs provides the list of logs generated during the observation process.
SetLevel 动态设置日志等级.
Sync flushes any buffered log entries.
TestingSetup configures logging by calling DevelopmentSetup if and only if verbose testing is enabled (as in 'go test -v').
ToDiscardOutput configures the logger to write to io.Discard.
ToObserverOutput specifies that the output should be collected in memory so that they can be read by an observer by calling ObserverLogs().
WithLevel specifies the logging level.
WithSelectors specifies what debug selectors are enabled.
# Constants
Logging levels.
Logging levels.
Logging levels.
Logging levels.
Logging levels.
No description provided by the author
Logging levels.
# Variables
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
Field types for structured logging.
# Structs
Config contains the configuration options for the logger.
FileConfig contains the configuration options for the file output.
Logger logs messages to the configured output.