Documentation
¶
Index ¶
- func AlyslsSettings(settings ...interface{}) *alyslsSettings
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func InitLoggers(defines ...[]map[string]interface{})
- func Log(level interface{}, args ...interface{})
- func LogDir(dir ...string) string
- func Logf(level interface{}, format string, args ...interface{})
- func NewConsoleLogger(ch chan []string) *consoleLogger
- func NewNoopLogger() *noopLogger
- func Panic(args ...interface{})
- func Panicf(format string, args ...interface{})
- func Trace(args ...interface{})
- func Tracef(format string, args ...interface{})
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
- func WithLogger(name string, logger Logger)
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlyslsSettings ¶ added in v1.0.3
func AlyslsSettings(settings ...interface{}) *alyslsSettings
func InitLoggers ¶ added in v1.0.2
func InitLoggers(defines ...[]map[string]interface{})
func NewConsoleLogger ¶ added in v1.0.2
func NewConsoleLogger(ch chan []string) *consoleLogger
func NewNoopLogger ¶ added in v1.0.2
func NewNoopLogger() *noopLogger
func WithLogger ¶ added in v1.0.2
Types ¶
type Logger ¶
type Logger interface {
Log(level interface{}, args ...interface{})
Logf(level interface{}, format string, args ...interface{})
Trace(args ...interface{})
Tracef(format string, args ...interface{})
Debug(args ...interface{})
Debugf(format string, args ...interface{})
Info(args ...interface{})
Infof(format string, args ...interface{})
Warn(args ...interface{})
Warnf(format string, args ...interface{})
Error(args ...interface{})
Errorf(format string, args ...interface{})
Panic(args ...interface{})
Panicf(format string, args ...interface{})
Fatal(args ...interface{})
Fatalf(format string, args ...interface{})
}
Click to show internal directories.
Click to hide internal directories.