Versions in this module Expand all Collapse all v1 v1.5.1 Jun 16, 2021 Changes in this version + const Namespace + var DefaultPattern = ` %{time:2006/01/02 - 15:04:05.000} %{color}▶ %{level:.6s}%{color:reset} %{message}` + var ErrWrongConfig = fmt.Errorf("getting the extra config for the krakend-gologging module") + func ConfigGetter(e config.ExtraConfig) interface + func NewLogger(cfg config.ExtraConfig, ws ...io.Writer) (logging.Logger, error) + func NewRequestLogger(log logging.Logger) gin.HandlerFunc + type Config struct + Level 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) GetLogLevel() logger.Level + func (l Logger) Info(v ...interface{}) + func (l Logger) Warning(v ...interface{}) v1.5.0 Jun 13, 2021