Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct { *glog.Logger // LogPath specifies the directory for storing logging files. LogPath string // LogStdout specifies whether printing logging content to stdout. LogStdout bool // ErrorStack specifies whether logging stack information when error. ErrorStack bool // ErrorLogEnabled enables error logging content to files. ErrorLogEnabled bool // ErrorLogPattern specifies the error log file pattern like: error-{Ymd}.log ErrorLogPattern string // AccessLogEnabled enables access logging content to files. AccessLogEnabled bool // AccessLogPattern specifies the error log file pattern like: access-{Ymd}.log AccessLogPattern string }
Logger
Click to show internal directories.
Click to hide internal directories.