package
Version:
v1.0.7
Opens a new window with list of versions in this module.
Published: Jul 21, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
LoggerMgo defines the name for the logger used for the mgo package
Disable disables logging for the mgo package by assigning a the nil implementation of ILogger
Set assigns a new ILogger instance to be used as the logger for the mgo package
type ILogger interface {
Debug(args ...interface{})
Info(args ...interface{})
Warn(args ...interface{})
Error(args ...interface{})
}
Get returns the current logger instance
Source Files
¶
Click to show internal directories.
Click to hide internal directories.