Logging

Logging #

critical #

func critical(args ...interface{}) string
Deprecated: Use error instead. Logs a message using ERROR log level
(2).

Aliases #

  • criticalf

debug #

func debug(args ...interface{}) string
Logs a message using DEBUG as log level (5).

Aliases #

  • debugf

error #

func error(args ...interface{}) string
Logs a message using ERROR as log level (2).

Aliases #

  • errorf

fatal #

func fatal(args ...interface{}) string
Logs a message using FATAL as log level (1) followed by a call to
os.Exit(1).

Aliases #

  • fatalf

info #

func info(args ...interface{}) string
Logs a message using INFO as log level (4).

Aliases #

  • infof

notice #

func notice(args ...interface{}) string
Deprecated: Use info instead. Logs a message using INFO log level (4).

Aliases #

  • noticef

panic #

func panic(args ...interface{}) string
Logs a message using PANIC as log level (0) followed by a call to
panic.

Aliases #

  • panicf

trace #

func trace(args ...interface{}) string
Logs a message using TRACE as log level (6).

Aliases #

  • tracef

warning #

func warning(args ...interface{}) string
Logs a message using WARNING as log level (3).

Aliases #

  • warn
  • warnf
  • warningf