Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Log *logrus.Logger
)
Log is the global Log instance
Functions ¶
func NewConfiguredLogger ¶
func NewConfiguredLogger(configs LogConfigs) (logger *logrus.Logger)
NewConfiguredLog works for server points
Types ¶
type LogConfigs ¶
type ServiceLevel ¶
type ServiceLevel byte
const ( SERVICE_LEVEL_DEBUG ServiceLevel = iota SERVICE_LEVEL_BACKGROUND )
Click to show internal directories.
Click to hide internal directories.