Documentation ¶
Index ¶
Constants ¶
View Source
const ( TimeFormat = "2006-01-02 15:04:05" DefaultLevel = logrus.InfoLevel )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logging ¶
type Logging struct { // Format is the log record format specifier for the Logging instance // If Format is not provided, a default format that provides basic information will // be used. Format *logrus.TextFormatter // logrus log level, default info Level logrus.Level // Writer is the sink for encoded and formatted log records. Writer io.Writer }
Logging maintains the state associated with the PaddleDTX logging system
Click to show internal directories.
Click to hide internal directories.