Versions in this module Expand all Collapse all v0 v0.0.1 Jun 21, 2024 Changes in this version + func GetSimpleLokiConfig(lokiUrl string) (*loki.Config, error) + type LogData struct + AppName string + File *string + Hook log.Hook + Log *log.Logger + var Logger *LogData = nil + func (l *LogData) Error(message string) + func (l *LogData) Info(message string) + func (l *LogData) InitLogger() error + func (l *LogData) Warn(message string) + type LokiHook struct + func NewLokiHook(lokiConfig *loki.Config) (*LokiHook, error) + func (hook *LokiHook) Fire(entry *log.Entry) error + func (hook *LokiHook) Levels() []log.Level