Documentation
¶
Index ¶
- type LogLevel
- type Logger
- type StandardLogger
- func (l *StandardLogger) Debug(format string, v ...interface{})
- func (l *StandardLogger) Error(format string, v ...interface{})
- func (l *StandardLogger) Info(format string, v ...interface{})
- func (l *StandardLogger) SetLevel(level LogLevel)
- func (l *StandardLogger) Warn(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Debug(format string, v ...interface{}) Info(format string, v ...interface{}) Warn(format string, v ...interface{}) Error(format string, v ...interface{}) SetLevel(level LogLevel) }
func NewLogService ¶
func NewLogServiceDefault ¶
func NewLogServiceDefault() Logger
type StandardLogger ¶
type StandardLogger struct {
// contains filtered or unexported fields
}
func (*StandardLogger) Debug ¶
func (l *StandardLogger) Debug(format string, v ...interface{})
func (*StandardLogger) Error ¶
func (l *StandardLogger) Error(format string, v ...interface{})
func (*StandardLogger) Info ¶
func (l *StandardLogger) Info(format string, v ...interface{})
func (*StandardLogger) SetLevel ¶
func (l *StandardLogger) SetLevel(level LogLevel)
func (*StandardLogger) Warn ¶
func (l *StandardLogger) Warn(format string, v ...interface{})
Click to show internal directories.
Click to hide internal directories.