Documentation ¶
Overview ¶
package tlogger provides an implementation of the loggerrific interface using the `testing.T.Log` functionality, for use in tests.
Index ¶
- type TEntry
- func (e *TEntry) Debugf(format string, args ...interface{})
- func (e *TEntry) Debugln(args ...interface{})
- func (e *TEntry) Errorf(format string, args ...interface{})
- func (e *TEntry) Errorln(args ...interface{})
- func (e *TEntry) Infof(format string, args ...interface{})
- func (e *TEntry) Infoln(args ...interface{})
- func (e *TEntry) Warnf(format string, args ...interface{})
- func (e *TEntry) Warnln(args ...interface{})
- type TLogger
- func (l *TLogger) Debugf(format string, args ...interface{})
- func (l *TLogger) Debugln(args ...interface{})
- func (l *TLogger) Errorf(format string, args ...interface{})
- func (l *TLogger) Errorln(args ...interface{})
- func (l *TLogger) Infof(format string, args ...interface{})
- func (l *TLogger) Infoln(args ...interface{})
- func (l *TLogger) IsDebugEnabled() bool
- func (l *TLogger) IsErrorEnabled() bool
- func (l *TLogger) IsInfoEnabled() bool
- func (l *TLogger) IsWarnEnabled() bool
- func (l *TLogger) Warnf(format string, args ...interface{})
- func (l *TLogger) Warnln(args ...interface{})
- func (l *TLogger) WithError(_ error) loggerrific.Entry
- func (l *TLogger) WithField(_ string, _ interface{}) loggerrific.Entry
- func (l *TLogger) WithFields(_ map[string]interface{}) loggerrific.Entry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TLogger ¶
func NewTLogger ¶
func (*TLogger) IsDebugEnabled ¶
func (*TLogger) IsErrorEnabled ¶
func (*TLogger) IsInfoEnabled ¶
func (*TLogger) IsWarnEnabled ¶
func (*TLogger) WithFields ¶
func (l *TLogger) WithFields(_ map[string]interface{}) loggerrific.Entry
Click to show internal directories.
Click to hide internal directories.