# Functions
AddHook adds func(zapcore.Entry) error) to the logger lifecycle.
Debug logs the message at debug level with additional fields, if any.
Debugf allows Sprintf style formatting and logs at debug level.
Error logs the message at error level and prints stacktrace with additional fields, if any.
Errorf allows Sprintf style formatting, logs at error level and prints stacktrace.
Fatal logs the message at fatal level with additional fields, if any and exits.
Fatalf allows Sprintf style formatting, logs at fatal level and exits.
Info logs the message at info level with additional fields, if any.
Infof allows Sprintf style formatting and logs at info level.
SugaredWithRequest takes in a http.Request and logs the message with request's Method, Host and Path and returns zap.SugaredLogger to support Sprintf styled logging.
Warn logs the message at warn level with additional fields, if any.
Warnf allows Sprintf style formatting and logs at warn level.
WithRequest takes in a http.Request and logs the message with request's Method, Host and Path and returns zap.logger.