package
0.0.0-20190821092711-97de089901e6
Repository: https://github.com/sandlis/weaveworks-common.git
Documentation: pkg.go.dev

# Functions

Debugf convenience function calls the global loggerr.
Debugln convenience function calls the global logger.
Errorf convenience function calls the global logger.
Errorln convenience function calls the global logger.
Global returns the global logger.
GoKit wraps an existing gokit Logger.
Infof convenience function calls the global logger.
Infoln convenience function calls the global logger.
Logrus wraps an existing Logrus logger.
NewGoKit creates a new Interface backed by a GoKit logger.
NewLogrus makes a new Interface backed by a logrus logger.
Noop logger.
SetGlobal sets the global logger.
Setup configures a global logrus logger to output to stderr.
SetupDeduplication should be performed after any other logging setup.
Warnf convenience function calls the global logger.
Warnln convenience function calls the global logger.
WithField convenience function calls the global logger.

# Structs

Level is a settable identifier for the minimum level a log entry must be have.

# Interfaces

Interface 'unifies' gokit logging and logrus logging, such that the middleware in this repo can be used in projects which use either loggers.

# Type aliases

Fields convenience type for adding multiple fields to a log statement.