Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateLogger ¶
Creates a logger instance, the logger file, and sets the logger level based on the CREATE_FULLSTACK_LOG_LVL environment. The logger logs to both a logger file (DEBUG level) and stdout (Info).
func SetLoggerLevel ¶
func SetLoggerLevel(envVarName string, atom zap.AtomicLevel) error
Sets the logger level based on the environment variable. Completely ignore if no env variable set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.