package
0.18.3
Repository: https://github.com/shellhub-io/shellhub.git
Documentation: pkg.go.dev

# Functions

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.
UseEnvs set the logger level to the specified in SHELLHUB_LOG_LEVEL and the log format for SHELLHUB_LOG_FORMAT.

# Constants

LogFormatJSON format for JSON log.
LogFormatText format for text log.

# Type aliases

LogFormat represents how logger should print logs.