Documentation
¶
Index ¶
Constants ¶
View Source
const LOG_ENTRIES_CHAN_SIZE = 5000
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LokiLogger ¶
type LokiLogger struct {
// contains filtered or unexported fields
}
LokiLogger send log messages towards Loki.
func NewLokiLogger ¶
func NewLokiLogger(rootUrl, job string) (*LokiLogger, error)
func (*LokiLogger) Shutdown ¶
func (c *LokiLogger) Shutdown()
func (*LokiLogger) WriteLevel ¶
Write a message with given level
Click to show internal directories.
Click to hide internal directories.