Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogHTTPWriter ¶
func NewLogHTTPWriter ¶
func NewLogHTTPWriter(serverURL string, warnOnHttpErr bool) *LogHTTPWriter
type Logger ¶
type Logger interface {
Trace(message string, args ...interface{})
Debug(message string, args ...interface{})
Info(message string, args ...interface{})
Warn(message string, args ...interface{})
Error(message string, args ...interface{})
Fatal(message string, args ...interface{})
Panic(message string, args ...interface{})
Tracef(ctx context.Context, format string, args ...interface{})
Debugf(ctx context.Context, format string, args ...interface{})
Infof(ctx context.Context, format string, args ...interface{})
Warnf(ctx context.Context, format string, args ...interface{})
Errorf(ctx context.Context, format string, args ...interface{})
Fatalf(ctx context.Context, format string, args ...interface{})
Panicf(ctx context.Context, format string, args ...interface{})
SetConfig(config configs.LogConfig)
GetConfig() configs.LogConfig
IsTraceEnabled() bool
IsDebugEnabled() bool
IsInfoEnabled() bool
IsWarnEnabled() bool
IsErrorEnabled() bool
IsFatalEnabled() bool
IsPanicEnabled() bool
}
Logger interface defines the logging methods
Click to show internal directories.
Click to hide internal directories.