Documentation ¶
Index ¶
- type Logger
- func (l *Logger) Debug(msg string, args ...interface{})
- func (l *Logger) Error(msg string, args ...interface{})
- func (l *Logger) Info(msg string, args ...interface{})
- func (l *Logger) IsDebug() bool
- func (l *Logger) IsInfo() bool
- func (l *Logger) IsTrace() bool
- func (l *Logger) IsWarn() bool
- func (l *Logger) LogxiLogger() *LogxiLogger
- func (l *Logger) Named(name string) *Logger
- func (l *Logger) ResetNamed(name string) *Logger
- func (l *Logger) StandardLogger(opts *hclog.StandardLoggerOptions) *log.Logger
- func (l *Logger) Trace(msg string, args ...interface{})
- func (l *Logger) Warn(msg string, args ...interface{})
- func (l *Logger) With(args ...interface{}) *Logger
- type LogxiLogger
- func (l *LogxiLogger) Debug(msg string, args ...interface{})
- func (l *LogxiLogger) Error(msg string, args ...interface{}) error
- func (l *LogxiLogger) Fatal(msg string, args ...interface{})
- func (l *LogxiLogger) Info(msg string, args ...interface{})
- func (l *LogxiLogger) IsDebug() bool
- func (l *LogxiLogger) IsInfo() bool
- func (l *LogxiLogger) IsTrace() bool
- func (l *LogxiLogger) IsWarn() bool
- func (l *LogxiLogger) Log(level int, msg string, args []interface{})
- func (l *LogxiLogger) Named(name string) *LogxiLogger
- func (l *LogxiLogger) ResetNamed(name string) *LogxiLogger
- func (l *LogxiLogger) SetLevel(level int)
- func (l *LogxiLogger) StandardLogger(opts *hclog.StandardLoggerOptions) *log.Logger
- func (l *LogxiLogger) Trace(msg string, args ...interface{})
- func (l *LogxiLogger) Warn(msg string, args ...interface{}) error
- func (l *LogxiLogger) With(args ...interface{}) *LogxiLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) LogxiLogger ¶
func (l *Logger) LogxiLogger() *LogxiLogger
func (*Logger) ResetNamed ¶
func (*Logger) StandardLogger ¶
func (l *Logger) StandardLogger(opts *hclog.StandardLoggerOptions) *log.Logger
type LogxiLogger ¶
type LogxiLogger struct {
// contains filtered or unexported fields
}
This is only for compatibility with whatever the fuck is up with the errors coming back from warn/error in Logxi's API. Don't use this directly.
func (*LogxiLogger) Debug ¶
func (l *LogxiLogger) Debug(msg string, args ...interface{})
func (*LogxiLogger) Error ¶
func (l *LogxiLogger) Error(msg string, args ...interface{}) error
func (*LogxiLogger) Fatal ¶
func (l *LogxiLogger) Fatal(msg string, args ...interface{})
func (*LogxiLogger) Info ¶
func (l *LogxiLogger) Info(msg string, args ...interface{})
func (*LogxiLogger) IsDebug ¶
func (l *LogxiLogger) IsDebug() bool
func (*LogxiLogger) IsInfo ¶
func (l *LogxiLogger) IsInfo() bool
func (*LogxiLogger) IsTrace ¶
func (l *LogxiLogger) IsTrace() bool
func (*LogxiLogger) IsWarn ¶
func (l *LogxiLogger) IsWarn() bool
func (*LogxiLogger) Log ¶
func (l *LogxiLogger) Log(level int, msg string, args []interface{})
func (*LogxiLogger) Named ¶
func (l *LogxiLogger) Named(name string) *LogxiLogger
func (*LogxiLogger) ResetNamed ¶
func (l *LogxiLogger) ResetNamed(name string) *LogxiLogger
func (*LogxiLogger) SetLevel ¶
func (l *LogxiLogger) SetLevel(level int)
func (*LogxiLogger) StandardLogger ¶
func (l *LogxiLogger) StandardLogger(opts *hclog.StandardLoggerOptions) *log.Logger
func (*LogxiLogger) Trace ¶
func (l *LogxiLogger) Trace(msg string, args ...interface{})
func (*LogxiLogger) Warn ¶
func (l *LogxiLogger) Warn(msg string, args ...interface{}) error
func (*LogxiLogger) With ¶
func (l *LogxiLogger) With(args ...interface{}) *LogxiLogger
Click to show internal directories.
Click to hide internal directories.