Documentation ¶
Overview ¶
Package logging contains helper functions for setting up a CLI wide logger that can be used to log output at various levels.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProjectLogger ¶
func SetGlobalLogFormatter ¶
func SetGlobalLogFormatter(formatter string)
Set the log format. Note: this ONLY affects loggers created using the GetLogger function AFTER this function has been called. Therefore, you need to call this as early in the life of your CLI app as possible!
func SetGlobalLogLevel ¶
Set the log level. Note: this ONLY affects loggers created using the GetLogger function AFTER this function has been called. Therefore, you need to call this as early in the life of your CLI app as possible!
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.