package
1.0.6
Repository: https://github.com/sqreen/go-agent.git
Documentation: pkg.go.dev

# Functions

NewLogger returns a Logger instance wrapping one logger instance per level.
ParseLogLevel returns the logger level corresponding to the string representation `level`.
WithOptionalBackoff returns a logger whose error logger has a backoff counter for errors indexed with a key using sqerrors.WithKey(), or otherwise ignores it and logs the error normally.
WithStrictBackoff returns a logger whose error logger has a backoff counter for errors indexed with a key using sqerrors.WithKey(), or otherwise uses a common counter.

# Constants

Debug to Error logs.
String representations of log levels.
Disabled value.
String representations of log levels.
Error logs.
String representations of log levels.
Info to Error logs.
String representations of log levels.
Time formatting layout with microsecond precision.

# Structs

Logger structure wrapping logger interfaces, one per level.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
LogLevel represents the log level.