Documentation ¶
Index ¶
- func Close()
- func Debug(format string, a ...interface{})
- func Error(format string, a ...interface{})
- func EscapeString(content string) string
- func Fatal(err error)
- func Global(l Logger)
- func Info(format string, a ...interface{})
- func Trace(format string, a ...interface{})
- func Warn(format string, a ...interface{})
- type Config
- type Logger
- func (l Logger) Close()
- func (l Logger) Debug(format string, a ...interface{})
- func (l Logger) Error(format string, a ...interface{})
- func (l Logger) Fatal(err error)
- func (l Logger) Info(format string, a ...interface{})
- func (l Logger) Start()
- func (l Logger) Trace(format string, a ...interface{})
- func (l Logger) Warn(format string, a ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EscapeString ¶
EscapeString escapes value from raw string to be JSON compatible
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger defines a logger instance
Click to show internal directories.
Click to hide internal directories.