package
0.0.0-20201222043859-1a51687f1cf3
Repository: https://github.com/iwanjunaid/basesvc.git
Documentation: pkg.go.dev

# Functions

GetLogEntry returns the in-context LogEntry for a request.
No description provided by the author
No description provided by the author
WithLogEntry sets the in-context LogEntry for a request.

# Constants

No description provided by the author

# Variables

LogEntryCtxKey is the context.Context key to store the request log entry.

# Structs

DefaultLogFormatter is a simple logger that implements a LogFormatter.

# Interfaces

LogEntry records the final log when a request completes.
LogFormatter initiates the beginning of a new LogEntry per request.
LoggerInterface accepts printing to stdlib logger or compatible logger.