Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
InitLogger initializes a new logger that writes to a file and returns it along with a closure function to close the opened log file. The log file path is determined by LogFilePath(cfgPath). The level parameter sets the minimum log level (debug, info, warn, error).
func LogFilePath ¶
func MustPrettyJSON ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.