Documentation ¶
Index ¶
- func Close()
- type EchoLogger
- func (el *EchoLogger) Debugj(j log.JSON)
- func (el *EchoLogger) Errorj(j log.JSON)
- func (el *EchoLogger) Fatalj(j log.JSON)
- func (el *EchoLogger) Infoj(j log.JSON)
- func (el *EchoLogger) Level() log.Lvl
- func (el *EchoLogger) Output() io.Writer
- func (el *EchoLogger) Panicj(j log.JSON)
- func (el *EchoLogger) Prefix() string
- func (el *EchoLogger) Print(i ...interface{})
- func (el *EchoLogger) Printf(format string, args ...interface{})
- func (el *EchoLogger) Printj(j log.JSON)
- func (el *EchoLogger) SetHeader(h string)
- func (el *EchoLogger) SetLevel(v log.Lvl)
- func (el *EchoLogger) SetOutput(w io.Writer)
- func (el *EchoLogger) SetPrefix(p string)
- func (el *EchoLogger) Warnj(j log.JSON)
- type Logger
- type LoggerFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EchoLogger ¶
type EchoLogger struct { *Logger // contains filtered or unexported fields }
func (*EchoLogger) Debugj ¶
func (el *EchoLogger) Debugj(j log.JSON)
func (*EchoLogger) Errorj ¶
func (el *EchoLogger) Errorj(j log.JSON)
func (*EchoLogger) Fatalj ¶
func (el *EchoLogger) Fatalj(j log.JSON)
func (*EchoLogger) Infoj ¶
func (el *EchoLogger) Infoj(j log.JSON)
func (*EchoLogger) Level ¶
func (el *EchoLogger) Level() log.Lvl
func (*EchoLogger) Output ¶
func (el *EchoLogger) Output() io.Writer
func (*EchoLogger) Panicj ¶
func (el *EchoLogger) Panicj(j log.JSON)
func (*EchoLogger) Prefix ¶
func (el *EchoLogger) Prefix() string
func (*EchoLogger) Print ¶
func (el *EchoLogger) Print(i ...interface{})
func (*EchoLogger) Printf ¶
func (el *EchoLogger) Printf(format string, args ...interface{})
func (*EchoLogger) Printj ¶
func (el *EchoLogger) Printj(j log.JSON)
func (*EchoLogger) SetHeader ¶
func (el *EchoLogger) SetHeader(h string)
func (*EchoLogger) SetLevel ¶
func (el *EchoLogger) SetLevel(v log.Lvl)
func (*EchoLogger) SetOutput ¶
func (el *EchoLogger) SetOutput(w io.Writer)
func (*EchoLogger) SetPrefix ¶
func (el *EchoLogger) SetPrefix(p string)
func (*EchoLogger) Warnj ¶
func (el *EchoLogger) Warnj(j log.JSON)
type Logger ¶
type Logger struct {
*zap.SugaredLogger
}
type LoggerFactory ¶
type LoggerFactory struct { Stopped chan struct{} LoggingLevel zap.AtomicLevel // contains filtered or unexported fields }
func CreateLoggerFactory ¶
func GetLogFactory ¶
func GetLogFactory() *LoggerFactory
func (*LoggerFactory) NewEchoLogger ¶
func (lf *LoggerFactory) NewEchoLogger(name string) *EchoLogger
func (*LoggerFactory) NewLogger ¶
func (lf *LoggerFactory) NewLogger(name string) *Logger
func (*LoggerFactory) SetLevel ¶
func (lf *LoggerFactory) SetLevel(value config.LogLevelType)
func (*LoggerFactory) Shutdown ¶
func (lf *LoggerFactory) Shutdown()
Click to show internal directories.
Click to hide internal directories.