package
6.8.15+incompatible
Repository: https://github.com/agilebits/beats.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.
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.
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.
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().
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

Critical exists only for config backward compatibility.
Logging levels.
Logging levels.
Logging levels.
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.