Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateLogger ¶
func CreateLogger(debug bool) (*zap.SugaredLogger, error)
CreateLogger Creates a new SugaredLogger, an error is returned if the creation fails
The debug parameters controls how much logging is displayed. It also controls if the caller and stack trace are shown on error
func MustCreateLogger ¶
func MustCreateLogger(debug bool) *zap.SugaredLogger
MustCreateLogger Creates a new SugaredLogger and panics if it couldn't be created
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.