Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct {
zap.SugaredLogger
}
Log is the wrap above zap sugar logger
func NewApplicationLogger ¶
NewApplicationLogger setup log when running an application
func NewNopLogger ¶
func NewNopLogger() *Log
NewNopLogger returns a no-op Logger. It never writes out logs or internal errors, and it never runs user-defined hooks.
Click to show internal directories.
Click to hide internal directories.