Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Global *logrus.Entry
Functions ¶
func Init ¶
Init sets up the default log level and log output format on global logrus instance. Subsequent calls to this function will not propagate new configuration to already existing loggers.
func New ¶
New creates a new logrus instance with preconfigured log level and output format and returns the entry object with sybsystem name configured on it as a field. All output from the entry object will contain the subsystem name on key "subsystem"
func NewSrvLogger ¶
NewSrvLogger returns a new logger that is compatible with go-control-plane server.
Types ¶
Click to show internal directories.
Click to hide internal directories.