Versions in this module Expand all Collapse all v3 v3.1.0 Jun 11, 2019 v3.0.0 Jun 10, 2019 Changes in this version + func Hook() echo.MiddlewareFunc + func HookWithExisting(existingLogger *logrus.Entry) echo.MiddlewareFunc + func HookWithLogger(existingLogger *logrus.Logger) echo.MiddlewareFunc + type ILogger interface + Debugf func(message string, args ...interface{}) + DisableColors func() + EnableColors func() + Errorf func(message string, args ...interface{}) + Infof func(message string, args ...interface{}) + func LogFactory(logFormat LogFormat, applicationName string, minimumLogLevel LogType) ILogger + type JSONLogger struct + func NewJSONLogger(applicationName string, minimumLogLevel LogType) *JSONLogger + func (logger *JSONLogger) Debugf(message string, args ...interface{}) + func (logger *JSONLogger) DisableColors() + func (logger *JSONLogger) EnableColors() + func (logger *JSONLogger) Errorf(message string, args ...interface{}) + func (logger *JSONLogger) Infof(message string, args ...interface{}) + type LogFormat int + const LOG_FORMAT_JSON + const LOG_FORMAT_SIMPLE + func StringToLogFormat(logFormatName string) LogFormat + func (format LogFormat) String() string + type LogType int + const DEBUG + const ERROR + const FATAL + const INFO + const NONE + const WARN + func StringToLogType(logTypeName string) LogType + func (logType LogType) Color() color.Attribute + func (logType LogType) String() string + type Logger struct + ApplicationName string + LogFormat LogFormat + LogLevel LogType + type LogrusMiddleware struct + type MiddlewareLogger struct + func (l MiddlewareLogger) Debugj(j log.JSON) + func (l MiddlewareLogger) Errorj(j log.JSON) + func (l MiddlewareLogger) Fatalj(j log.JSON) + func (l MiddlewareLogger) Infoj(j log.JSON) + func (l MiddlewareLogger) Level() log.Lvl + func (l MiddlewareLogger) Output() io.Writer + func (l MiddlewareLogger) Panicj(j log.JSON) + func (l MiddlewareLogger) Prefix() string + func (l MiddlewareLogger) Printj(j log.JSON) + func (l MiddlewareLogger) SetLevel(lvl log.Lvl) + func (l MiddlewareLogger) SetOutput(w io.Writer) + func (l MiddlewareLogger) SetPrefix(s string) + func (l MiddlewareLogger) Warnj(j log.JSON) + type SimpleLogger struct + func NewSimpleLogger(applicationName string, minimumLogLevel LogType) *SimpleLogger + func (logger *SimpleLogger) Debugf(message string, args ...interface{}) + func (logger *SimpleLogger) DisableColors() + func (logger *SimpleLogger) EnableColors() + func (logger *SimpleLogger) Errorf(message string, args ...interface{}) + func (logger *SimpleLogger) Infof(message string, args ...interface{}) + type StringLogger struct + Messages []string + func NewStringLogger(applicationName string, minimumLogLevel LogType) *StringLogger + func (logger *StringLogger) Debugf(message string, args ...interface{}) + func (logger *StringLogger) DisableColors() + func (logger *StringLogger) EnableColors() + func (logger *StringLogger) Errorf(message string, args ...interface{}) + func (logger *StringLogger) Infof(message string, args ...interface{}) Other modules containing this package github.com/app-nerds/kit/v4 github.com/app-nerds/kit/v5 github.com/app-nerds/kit/v6