Documentation ¶
Index ¶
- func Debug(args ...interface{})
- func Error(args ...interface{})
- func Fatal(args ...interface{})
- func Info(args ...interface{})
- func Panic(args ...interface{})
- func Print(args ...interface{})
- func SetLevel(level logrus.Level)
- func Trace(args ...interface{})
- func Warn(args ...interface{})
- func Warning(args ...interface{})
- type ILogger
- type Provider
- func (p *Provider) Debug(args ...interface{})
- func (p *Provider) Error(args ...interface{})
- func (p *Provider) Fatal(args ...interface{})
- func (p *Provider) Info(args ...interface{})
- func (p *Provider) Panic(args ...interface{})
- func (p *Provider) Print(args ...interface{})
- func (p *Provider) SetLevel(level uint32)
- func (p *Provider) Trace(args ...interface{})
- func (p *Provider) Warn(args ...interface{})
- func (p *Provider) Warning(args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(args ...interface{})
Debug logs a message at level Debug on the standard logger.
func Error ¶
func Error(args ...interface{})
Error logs a message at level Error on the standard logger.
func Fatal ¶
func Fatal(args ...interface{})
Fatal logs a message at level Fatal on the standard logger then the process will exit with status set to 1.
func Info ¶
func Info(args ...interface{})
Info logs a message at level Info on the standard logger.
func Panic ¶
func Panic(args ...interface{})
Panic logs a message at level Panic on the standard logger.
func Print ¶
func Print(args ...interface{})
Print logs a message at level Info on the standard logger.
Types ¶
type ILogger ¶
type ILogger interface { SetLevel(level uint32) Trace(args ...interface{}) Debug(args ...interface{}) Print(args ...interface{}) Info(args ...interface{}) Warn(args ...interface{}) Warning(args ...interface{}) Error(args ...interface{}) Panic(args ...interface{}) Fatal(args ...interface{}) }
type Provider ¶
type Provider struct { }
func (*Provider) Debug ¶
func (p *Provider) Debug(args ...interface{})
Debug logs a message at level Debug on the standard logger.
func (*Provider) Error ¶
func (p *Provider) Error(args ...interface{})
Error logs a message at level Error on the standard logger.
func (*Provider) Fatal ¶
func (p *Provider) Fatal(args ...interface{})
Fatal logs a message at level Fatal on the standard logger then the process will exit with status set to 1.
func (*Provider) Info ¶
func (p *Provider) Info(args ...interface{})
Info logs a message at level Info on the standard logger.
func (*Provider) Panic ¶
func (p *Provider) Panic(args ...interface{})
Panic logs a message at level Panic on the standard logger.
func (*Provider) Print ¶
func (p *Provider) Print(args ...interface{})
Print logs a message at level Info on the standard logger.