package
0.0.0-20230602124434-bac0c2a7bf85
Repository: https://github.com/ppwfx/shellpane.git
Documentation: pkg.go.dev

# Functions

LoggerValue returns the logger from the context.
LogRequestMiddleware defines a http middleware logs every requests.
MustLoggerValue returns the logger from the context and panics if the logger is not in the context.
NewLogger creates a new *zap.SugaredLogger.
NewStackDriverLogger creates a *zap.SugaredLogger that is configured for the Stackdriver backend.
No description provided by the author
WithLoggerValue adds the logger to the context.
WithLoggerValueMiddleware returns a http middleware that injects a *zap.SugaredLogger into the 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

# Variables

StackdriverEncoderConfig defines a zapcore.EncoderConfig that is configured for the Stackdriver backend.

# Structs

LoggerConfig defines opts for creating a new *zap.SugaredLogger.
No description provided by the author