Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// Instance provides methods to do all the logging in different levels
Instance = newLogger()
)
Functions ¶
This section is empty.
Types ¶
type ServiceLogger ¶
ServiceLogger holds the implementation for the logger interface
func (ServiceLogger) Error ¶
func (l ServiceLogger) Error(message string)
Error logs error level messages
func (ServiceLogger) Info ¶
func (l ServiceLogger) Info(message string)
Info logs info level messages
func (ServiceLogger) Warn ¶
func (l ServiceLogger) Warn(message string)
Warn logs warn level messages
Click to show internal directories.
Click to hide internal directories.