Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLogFormat ¶ added in v0.15.0
func SetLogFormat()
SetLogFormat sets the default format for the logger. TODO: "set" on the name doesn't make sense, as it isn't receiving nothing to set. In my view, "use" could be a better naming, as it will "use" the environmental variable.
func SetLogLevel ¶
func SetLogLevel()
SetLogLevel applies the level named by the environment: trace in development, and otherwise whatever SHELLHUB_LOG_LEVEL asks for, falling back to info.
Types ¶
Click to show internal directories.
Click to hide internal directories.