Logger
Interface
type Logger interface{}5 members
Methods
method
LogLogs a message with a specified log level.
Log( level string, message string,) errorParameters
levelstringmessagestringReturns
errorReturns error.
method
LogDebug Logs a debug message.
LogDebug(message string) errorParameters
messagestringReturns
errorReturns error.
method
LogError Logs an error message.
LogError(message string) errorParameters
messagestringReturns
errorReturns error.
method
LogInformation Logs an information message.
LogInformation(message string) errorParameters
messagestringReturns
errorReturns error.
method
LogWarning Logs a warning message.
LogWarning(message string) errorParameters
messagestringReturns
errorReturns error.
Applies to
This interface applies to the following types: