Documentation
¶
Overview ¶
Package log is used to initialize the logging.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLoging ¶ added in v0.30.0
func InitLoging(appName, loglevel, logfile string)
InitLoging initializes the logging configuration.
If logfile is empty, output the log to os.Stderr.
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
Package middleware registers some log config options to configure the log middleware, which just needs to be imported to do some initializations.
|
Package middleware registers some log config options to configure the log middleware, which just needs to be imported to do some initializations. |
Click to show internal directories.
Click to hide internal directories.