Documentation ¶
Overview ¶
Package logging provides logging-related helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGlobalContextLoggers ¶
GetGlobalContextLoggers returns the Loggers associated with this HTTP request for Relay's global logging. If no such context information was added to the request, it returns disabled loggers.
func GlobalContextLoggersMiddleware ¶
GlobalContextLoggersMiddleware attaches global logging context to each HTTP request.
func MakeDefaultLoggers ¶
MakeDefaultLoggers returns a Loggers instance configured with Relay's standard log format. Output goes to stdout, except Error level which goes to stderr. Debug level is disabled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.