# Functions

Bool creates a named bool field.
Boolp creates a named bool pointer field.
Bools creates a named bool slice field.
Byte creates a named byte field.
Bytes creates a named byte slice field.
ByteString creates a named byte string field.
ByteStrings creates a named byte string slice field.
Complex128 creates a named complex128 field.
Complex128p creates a named complex128 pointer field.
Complex128s creates a named complex128 slice field.
Complex64 creates a named complex64 field.
Complex64p creates a named complex64 pointer field.
Complex64s creates a named complex64 slice field.
Duration creates a named Duration field.
Durationp creates a named Duration pointer field.
Durations creates a named Duration slice field.
Error creates a named field for an error.
Float32 creates a named float32 field.
Float32p creates a named float32 pointer field.
Float32s creates a named float32 slice field.
Float64 creates a named float64 field.
Float64p creates a named float64 pointer field.
Float64s creates a named float64 slice field.
GetLogger gets a logger by name.
Int creates a named int field.
Int32 creates a named int32 field.
Int32p creates a named int32 pointer field.
Int32s creates a named int32 slice field.
Int64 creates a named int64 field.
Int64p creates a named int64 pointer field.
Int64s creates a named int64 slice field.
Intp creates a named int pointer field.
Ints creates a named int slice field.
SetLevel sets the root logger level.
String creates a named string field.
Stringer creates a named field for a type implementing Stringer.
Stringp creates a named string pointer field.
Strings creates a named string slice field.
Time creates a named Time field.
Timep creates a named Time pointer field.
Times creates a named Time slice field.
Trunc creates a truncated named field for a Stringer.
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
No description provided by the author
Uint creates a named uint field.
Uint32 creates a named uint32 field.
Uint32p creates a named uint32 pointer field.
Uint32s creates a named uint32 slice field.
Uint64 creates a named uint64 field.
Uint64p creates a named uint64 pointer field.
Uint64s creates a named uint64 slice field.
Uintp creates a named uint pointer field.
Uints creates a named uint slice field.

# Constants

ConsoleEncoding is an encoding for outputs to the console.
DebugLevel logs a message at debug level.
DPanicLevel logs at PanicLevel; otherwise, it logs at ErrorLevel.
EmptyLevel :.
ErrorLevel logs a message at error level.
FatalLevel logs a message, then calls os.Exit(1).
FileSinkType is the type for a file sink.
InfoLevel logs a message at info level.
JSONEncoding is an encoding for JSON outputs.
PanicLevel logs a message, then panics.
StderrSinkType is the sink type for stderr.
StdoutSinkType is the sink type for stdout.
WarnLevel logs a message at warning level.

# Structs

Config logging configuration.
FileSinkConfig is the configuration for a file sink.
LoggerConfig is the configuration for a logger.
OutputConfig is the configuration for a sink output.
SinkConfig is the configuration for a sink.
StderrSinkConfig is the configuration for an stderr sink.
StdoutSinkConfig is the configuration for an stdout sink.

# Interfaces

Field is a structured logger field.
Logger represents an abstract logging interface.
Output is a logging output.

# Type aliases

Level :.
SinkEncoding is the encoding for a sink.
SinkType is a type of sink.