Documentation ¶
Overview ¶
Package logging sets up structured logging in a uniform way, and redirects glog statements into the structured log.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
Init returns a logger configured with common settings like timestamping and source code locations. Both the stdlib logger and glog are reconfigured to push logs into this logger.
Init must be called as early as possible in main(), before any application-specific flag parsing or logging occurs, because it mutates the contents of the flag package as well as os.Stderr.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.