Documentation
¶
Index ¶
- Constants
- func Debug(f interface{}, v ...interface{})
- func EnalbeConsoleFor(tag string, enabled ...bool)
- func EnalbeFuncCallFor(tag string, enabled ...bool)
- func Error(f interface{}, v ...interface{})
- func ErrorFor(tag string, f interface{}, v ...interface{})
- func Fatal(f interface{}, v ...interface{})
- func Info(f interface{}, v ...interface{})
- func InfoFor(tag string, f interface{}, v ...interface{})
- func NewLogFile(logFileName string, maxDays int, tags ...string) (newLog *logs.BeeLogger)
- func NewSyslog() logs.Logger
- func SetLevel(level string)
- func Setup(console bool, level string, logFileName string, jsonConfig ...string)
- func Warning(f interface{}, v ...interface{})
- func WarningFor(tag string, f interface{}, v ...interface{})
- type Logger
Constants ¶
View Source
const (
AdapterSyslog = "syslog"
)
adapter name
Variables ¶
This section is empty.
Functions ¶
func EnalbeConsoleFor ¶
EnalbeConsoleFor enable log to console
func EnalbeFuncCallFor ¶
EnalbeFuncCallFor enable log call func
func ErrorFor ¶
func ErrorFor(tag string, f interface{}, v ...interface{})
ErrorFor logs a message at error level
func InfoFor ¶
func InfoFor(tag string, f interface{}, v ...interface{})
InfoFor logs a message at info level
func NewLogFile ¶
NewLogFile init another log file
func Warning ¶
func Warning(f interface{}, v ...interface{})
Warning logs a message at warning level
func WarningFor ¶
func WarningFor(tag string, f interface{}, v ...interface{})
WarningFor logs a message at warning level
Types ¶
Click to show internal directories.
Click to hide internal directories.