Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Logger ¶
func Logger( loggerType base.LoggerType, level base.LogLevel, format base.LogFormat, writer io.Writer, options []base.Option) base.MyLogger
Logger 会新建一个日志记录器。
func RegisterLogger ¶
func RegisterLogger( loggerType base.LoggerType, creator LoggerCreator, cover bool) error
RegisterLogger 用于注册日志记录器。
Types ¶
Directories ¶
Path | Synopsis |
---|---|
generated by log_xfields_generator -input /home/haolin/golang/example.v2/src/gopcp.v2/helper/log/field -output /home/haolin/golang/example.v2/src/gopcp.v2/helper/log/field generation time: 2016-12-29T12:10:06.552 DO NOT EDIT!!
|
generated by log_xfields_generator -input /home/haolin/golang/example.v2/src/gopcp.v2/helper/log/field -output /home/haolin/golang/example.v2/src/gopcp.v2/helper/log/field generation time: 2016-12-29T12:10:06.552 DO NOT EDIT!! |
Click to show internal directories.
Click to hide internal directories.