package
0.0.0-20250221084221-cda146333981
Repository: https://github.com/mendersoftware/go-lib-micro.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
Grab an instance of Logger that may have been passed in context.Context.
New returns a new Logger with a given context, derived from the global Log.
NewEmpty returns a new logger with empty context.
NewFromLogger returns a new Logger derived from a given logrus.Logger, instead of the global one.
NewFromLogger returns a new Logger derived from a given logrus.Logger, instead of the global one.
Setup allows to override the global logger setup.
WithContext adds logger to context `ctx` and returns the resulting context.

# Constants

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
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

log is a global logger instance.

# Structs

No description provided by the author
Logger is a wrapper for logrus.Entry.
No description provided by the author

# Interfaces

ContextLogger interface for components which support logging with context, via setting a logger to an exisiting one, thereby inheriting its context.

# Type aliases

Ctx short for log context, alias for the more verbose logrus.Fields.
No description provided by the author
No description provided by the author