Documentation ¶
Overview ¶
Package log provides a logging interface to send logs from plugins to Grafana server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultLogger = New()
DefaultLogger is the default logger.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Debug(msg string, args ...interface{}) Info(msg string, args ...interface{}) Warn(msg string, args ...interface{}) Error(msg string, args ...interface{}) Level() Level }
Logger is the main Logger interface.
func NewWithLevel ¶ added in v0.124.0
NewWithLevel creates a new logger at the Level defined.
Click to show internal directories.
Click to hide internal directories.