package
0.1.0
Repository: https://github.com/samkreter/go-core.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GetLogger retrieves the current logger from the context.
ParseLevel takes a string level and returns the Logrus log level constant.
SetLogLevel sets the logger level.
Trace logs a message at level Trace with the log entry passed-in.
Tracef logs a message at level Trace with the log entry passed-in.
UseJSONOutput set the output format to JSON.
WithLogger returns a new context with the provided logger.

# Constants

RFC3339NanoFixed is time.RFC3339Nano with nanoseconds padded using zeros to ensure the formatted time is always the same number of characters.
TraceLevel is the log level for tracing.

# Variables

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