Versions in this module Expand all Collapse all v0 v0.1.0 Sep 2, 2021 Changes in this version + const DebugLevel + const ErrorLevel + const FormatJSON + const FormatText + const InfoLevel + const WarnLevel + type Config struct + Format string + Level string + type LogrusLogger struct + func NewDefaultLogger() LogrusLogger + func NewLogger(cfg Config) LogrusLogger + func (l *LogrusLogger) SetOutput(output io.Writer) + func (l LogrusLogger) Debug(msg string, keyvals ...interface{}) + func (l LogrusLogger) Error(msg string, keyvals ...interface{}) + func (l LogrusLogger) Info(msg string, keyvals ...interface{}) + func (l LogrusLogger) With(keyvals ...interface{}) log.Logger