Documentation ¶
Overview ¶
Package logger it is a simple encapsulation of the go.uber.org/zap package
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger *zap.Logger
Logger log writer
View Source
var SugarLogger *zap.SugaredLogger
SugarLogger simple logger
Functions ¶
func Debug ¶
Debug logs a message at DebugLevel. The message includes any fields passed at the log site, as well as any fields accumulated on the logger.
func Error ¶
Error logs a message at ErrorLevel. The message includes any fields passed at the log site, as well as any fields accumulated on the logger.
func Info ¶
Info logs a message at InfoLevel. The message includes any fields passed at the log site, as well as any fields accumulated on the logger.
Types ¶
Click to show internal directories.
Click to hide internal directories.