Documentation ¶
Index ¶
- Constants
- Variables
- func InitSentry(dsn string) error
- func SetLogLevel(level Level) (bool, error)
- type Level
- type Logger
- func (l *Logger) Critical(format string, args ...interface{})
- func (l *Logger) Debug(format string, args ...interface{})
- func (l *Logger) Error(format string, args ...interface{})
- func (l *Logger) Fatal(format string, args ...interface{})
- func (l *Logger) Info(format string, args ...interface{})
- func (l *Logger) Warning(format string, args ...interface{})
Constants ¶
View Source
const ( LOG4G_VERSION = "log4g-v0.99.0" LOG4G_MAJOR = 0 LOG4G_MINOR = 99 LOG4G_PATCH = 0 )
Variables ¶
View Source
var ErrorStream = os.Stderr
View Source
var OutputStream = os.Stdout
Functions ¶
func InitSentry ¶
func SetLogLevel ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.