package
1.0.0-dev.156
Repository: https://github.com/xgodev/boost.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Debug logs a message at debug level.
Debugf logs a templated message at debug level.
Error logs a message at error level.
Errorf logs a templated message at error level.
Fatal is equivalent to Print() followed by a call to os.Exit(1).
Fatalf is equivalent to Printf() followed by a call to os.Exit(1).
FromContext calls concrete Logger.FromContext().
GetLogger returns instance of Logger.
Info logs a message at info level.
Infof logs a templated message at info level.
NewNoop create a Noop Logger.
Panic is equivalent to Print() followed by a call to panic().
Panicf is equivalent to Printf() followed by a call to panic().
Printf logs a templated message.
Set returns an instance of logger.
No description provided by the author
Trace logs a message at trace level.
Tracef logs a templated message at trace level.
Warn logs a message at warn level.
Warnf logs a templated message at warn level.
WithError adds an error as a field to logger.
WithField adds a key and value to logger.
WithFields adds fields to logger.
WithTypeOf adds type information to logger.

# Structs

Noop is a dummy implementation of Logger.

# Interfaces

Logger is our contract for the logger.

# Type aliases

Fields to pass when we want to call WithFields for structured logging.