package
0.0.0-20241212193129-31f37f7e77a3
Repository: https://github.com/thingspect/atlas.git
Documentation: pkg.go.dev

# Functions

Debug logs a new message with debug level.
Debugf logs a new formatted message with debug level.
Default returns the default logger, which is thread-safe.
Error logs a new message with error level.
Errorf logs a new formatted message with error level.
Fatal logs a new message with fatal level followed by a call to os.Exit(1).
Fatalf logs a new formatted message with fatal level followed by a call to os.Exit(1).
FromContext returns the CtxLogger value stored in a Context, if any.
Info logs a new message with info level.
Infof logs a new formatted message with info level.
NewConsole returns a new Logger with console formatting at the specified level.
NewContext returns a new Context that carries a CtxLogger.
NewJSON returns a new Logger with JSON formatting at the specified level.
SetDefault sets a new default logger.
WithField returns a derived Logger from the default Logger with a string field.

# Structs

CtxLogger wraps a Logger for use in Context values.

# Interfaces

Logger defines the methods provided by a Log.