Documentation ¶
Index ¶
- type Logger
- func (l *Logger) AddField(name string, value interface{}) *Logger
- func (l *Logger) Error(err error, args ...interface{})
- func (l *Logger) Errorf(err error, format string, args ...interface{})
- func (l *Logger) Info(args ...interface{})
- func (l *Logger) Infof(format string, args ...interface{})
- func (l *Logger) SetupInstanceLoggger(name string)
- func (l *Logger) SetupInstanceLogggerTest()
- func (l *Logger) Trace(args ...interface{})
- func (l *Logger) Tracef(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct { DefaultOutput *io.PipeWriter // contains filtered or unexported fields }
Logger type for logging info
func (*Logger) SetupInstanceLoggger ¶
SetupInstanceLoggger has to be used when setupping logger when not testing
func (*Logger) SetupInstanceLogggerTest ¶
func (l *Logger) SetupInstanceLogggerTest()
SetupInstanceLogggerTest has to be used when setupping logger when testing
Click to show internal directories.
Click to hide internal directories.