# Functions
Debug logs data intended to be more verbose for debugging and development.
Fatal logs data that represents a fatal error.
Info logs data intended to be useful to all users in all modes.
Local logs data intended to be seen during local development.
RegisterObserver adds an Observer to receive processed log events.
SetDebug lets you enable or disable debug mode.
SetFieldProcessor lets you specify the field processing callback for your application to turn logged values into key-value fields for an event.
SetLocal lets you enable or disable local mode.
UnregisterObserver removes an Observer from receiving log events.
WrapResponseWriter will take an http.ResponseWriter and return it wrapped as this package's ResponseWriter.
# Constants
Constants used to identify the type of Event received by Observer.
Constants used to identify the type of Event received by Observer.
Constants used to identify the type of Event received by Observer.
Constants used to identify the type of Event received by Observer.
# Structs
Event represents a log event, which is what is given to registered Observers and the FieldProcessor.
# Interfaces
Observer is the interface of registerable log observers.
ResponseWriter is the interface for wrapped http.ResponseWriters.
# Type aliases
No description provided by the author
FieldProcessor is the function signature for the callback expected by SetFieldProcessor.
Fields is shorthand for string map of strings used by Event for fields, but can also be used when logging to explicitly add key-values.