logbridge

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2017 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 NewLogger

func NewLogger(hclogger hclog.Logger) *Logger

func (*Logger) Debug

func (l *Logger) Debug(msg string, args ...interface{})

func (*Logger) Error

func (l *Logger) Error(msg string, args ...interface{})

func (*Logger) Info

func (l *Logger) Info(msg string, args ...interface{})

func (*Logger) IsDebug

func (l *Logger) IsDebug() bool

func (*Logger) IsInfo

func (l *Logger) IsInfo() bool

func (*Logger) IsTrace

func (l *Logger) IsTrace() bool

func (*Logger) IsWarn

func (l *Logger) IsWarn() bool

func (*Logger) LogxiLogger

func (l *Logger) LogxiLogger() *LogxiLogger

func (*Logger) Named

func (l *Logger) Named(name string) *Logger

func (*Logger) ResetNamed

func (l *Logger) ResetNamed(name string) *Logger

func (*Logger) StandardLogger

func (l *Logger) StandardLogger(opts *hclog.StandardLoggerOptions) *log.Logger

func (*Logger) Trace

func (l *Logger) Trace(msg string, args ...interface{})

func (*Logger) Warn

func (l *Logger) Warn(msg string, args ...interface{})

func (*Logger) With

func (l *Logger) With(args ...interface{}) *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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL