Versions in this module Expand all Collapse all v1 v1.0.15 Sep 7, 2022 Changes in this version + type CallerHook struct + func NewCallerHook(logger *logrus.Logger) *CallerHook + func (t *CallerHook) Fire(e *logrus.Entry) error + func (t *CallerHook) Levels() []logrus.Level v1.0.14 May 24, 2022 Changes in this version + const Dev + const Prod + func DefaultGormLogger() gl.Interface + func InitLogger(c LogConfig) + func NewGormLoggerWithConfig(config gl.Config) gl.Interface + type LogConfig struct + FileEnable bool + LokiEnable bool + LokiHost string + LokiJob string + LokiPort int + LokiSource string + Mode mode