package
0.0.0-20200321091321-bc8cfc345e21
Repository: https://github.com/wuka1/swarmkit.git
Documentation: pkg.go.dev

# Functions

GetLogger retrieves the current logger from the context.
GetModulePath returns the module path for the provided context.
WithField is convenience wrapper around WithFields.
WithFields returns a new context with added fields to logger.
WithLogger returns a new context with the provided logger.
WithModule adds the module to the context, appending it with a slash if a module already exists.

# Variables

G is an alias for GetLogger.
L is an alias for the the standard logger.