Documentation
¶
Overview ¶
Package logging provides utilities for creating and accessing a logger within the application.
Index ¶
Constants ¶
View Source
const ( // LevelDefault is the default logging level for the application, which is error. LevelDefault = hclog.Error // LevelDebug is the logging level that includes debug messages, which is more verbose than the default. LevelDebug = hclog.Debug )
Variables ¶
This section is empty.
Functions ¶
func FromContext ¶
FromContext extracts the logger from the context, or returns a null logger if not found.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.