package
0.0.0-20210917070259-b67b00793c7f
Repository: https://github.com/colinzuo/tunip.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AsJSON specifies to log the output as JSON.
Configure configures the logp package.
Critical uses fmt.Sprintf to construct and log a message.
Debug uses fmt.Sprintf to construct and log a message.
DefaultConfig returns the default config options.
DevelopmentSetup configures the logger in development mode at debug level.
Err uses fmt.Sprintf to construct and log a message.
GetLevel get log level.
HasSelector returns true if the given selector was explicitly set.
Info uses fmt.Sprintf to construct and log a message.
IsDebug returns true if the given selector would be logged.
ISO8601TimeEncoder use official timezone format.
L returns an unnamed global logger.
MakeDebug returns a function that logs at debug level.
NewLogger returns a new Logger labeled with the name of the selector.
ObserverLogs provides the list of logs generated during the observation process.
Recover stops a panicking goroutine and logs an Error.
SetLevel set log level.
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').
ToObserverOutput specifies that the output should be collected in memory so that they can be read by an observer by calling ObserverLogs().
Warn uses fmt.Sprintf to construct and log a message.
WithLevel specifies the logging level.
WithSelectors specifies what debug selectors are enabled.
WTF prints the message at PanicLevel and immediately panics with the same message.

# Constants

Logging levels.
Logging levels.
Logging levels.
Default log dir.
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.

# Type aliases

Level is a logging priority.
LogOption configures a Logger.
Option configures the logp package behavior.