Versions in this module Expand all Collapse all v2 v2.0.2 Jan 24, 2024 v2.0.1 Jun 8, 2022 Changes in this version + const ISO_8601 + const LEVEL_CRITICAL + const LEVEL_DEBUG + const LEVEL_ERROR + const LEVEL_INFO + const LEVEL_WARNING + const Namespace + var ErrNothingToLog = errors.New("nothing to log") + var ErrWrongConfig = fmt.Errorf("getting the extra config for the krakend-logstash module") + func NewLogger(cfg config.ExtraConfig, ws ...io.Writer) (logging.Logger, error) + type LogLevel string + type Logger struct + func (l *Logger) Critical(v ...interface{}) + func (l *Logger) Debug(v ...interface{}) + func (l *Logger) Error(v ...interface{}) + func (l *Logger) Fatal(v ...interface{}) + func (l *Logger) Info(v ...interface{}) + func (l *Logger) Warning(v ...interface{})