Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NoOpLogger = writerFunc(func([]byte) (int, error) { return -1, nil })
NoOpLogger returns a new, non-operational logger of io.Writer, it does nothing any form of input.
Functions ¶
func Log ¶
Log sends a message to the defined logger of io.Writer logger, it's just a help function for internal use but it can be used to a cusotom middleware too.
See AttachLogger too.
func NewDevLogger ¶
NewDevLogger returns a new logger of io.Writer which formats its log message input and writes it to the os.Stdout.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.