Documentation
¶
Index ¶
- type Log
- func (l *Log) Debug(args ...interface{})
- func (l *Log) Debugf(format string, args ...interface{})
- func (l *Log) Error(args ...interface{})
- func (l *Log) Errorf(format string, args ...interface{})
- func (l *Log) Info(args ...interface{})
- func (l *Log) Infof(format string, args ...interface{})
- func (l *Log) Panic(args ...interface{})
- func (l *Log) Panicf(format string, args ...interface{})
- func (l *Log) Set(fields ...glog.Field)
- func (l *Log) Trace(args ...interface{})
- func (l *Log) Tracef(format string, args ...interface{})
- func (l *Log) Warning(args ...interface{})
- func (l *Log) Warningf(format string, args ...interface{})
- func (l *Log) With(fields ...glog.Field) glog.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
Log implements Log interface by using logrus library.
func (*Log) Debug ¶
func (l *Log) Debug(args ...interface{})
Debug prints a log message with "debug" log level.
func (*Log) Error ¶
func (l *Log) Error(args ...interface{})
Error prints a log message with "error" log level.
func (*Log) Info ¶
func (l *Log) Info(args ...interface{})
Info prints a log message with "info" log level.
func (*Log) Panic ¶ added in v1.0.0
func (l *Log) Panic(args ...interface{})
Panic prints a log message with "panic" log level. Then calls panic().
func (*Log) Panicf ¶ added in v1.0.0
Panicf prints a log message with "error" log level and specified format. Then calls panic().
func (*Log) Trace ¶
func (l *Log) Trace(args ...interface{})
Trace prints a log message with "trace" log level.
func (*Log) Warning ¶
func (l *Log) Warning(args ...interface{})
Warning prints a log message with "warning" log level.
Click to show internal directories.
Click to hide internal directories.