# Functions
AddGlobalFields adds global fields.
Alert alerts v in alert level, and the message is written to error log.
Close closes the logging.
Debug writes v into access log.
Debugf writes v with format into access log.
Debugfn writes fn result into access log.
Debugv writes v into access log with json content.
Debugw writes msg along with fields into the access log.
Error writes v into error log.
Errorf writes v with format into error log.
Errorfn writes fn result into error log.
Errorv writes v into error log with json content.
Errorw writes msg along with fields into the error log.
Field returns a LogField for the given key and value.
Info writes v into access log.
Infof writes v with format into access log.
Infofn writes fn result into access log.
Infov writes v into access log with json content.
Infow writes msg along with fields into the access log.
Must checks if err is nil, otherwise logs the error and exits.
MustSetup sets up logging with given config c.
SetLevel sets the logging level.
SetUp sets up the logx.
Slow writes v into slow log.
Slowf writes v with format into slow log.
Slowfn writes fn result into slow log.
Slowv writes v into slow log with json content.
Sloww writes msg along with fields into slow log.