Module say (logging) | Tarantool
Tarantool
Check out the new release policy
Reference C API reference Module say (logging)

Module say (logging)

enum say_level
enumerator ::S_FATAL

do not use this value directly

enumerator ::S_SYSERROR
enumerator ::S_ERROR
enumerator ::S_CRIT
enumerator ::S_WARN
enumerator ::S_INFO
enumerator ::S_VERBOSE
enumerator ::S_DEBUG
say(level, format, ...)

Format and print a message to Tarantool log file.

Parameters:
  • level (int) – log level
  • format (const char*) – printf()-like format string
  • ... – format arguments

See also printf(3), say_level

say_error(format, ...)
say_crit(format, ...)
say_warn(format, ...)
say_info(format, ...)
say_verbose(format, ...)
say_debug(format, ...)
say_syserror(format, ...)

Format and print a message to Tarantool log file.

Parameters:
  • format (const char*) – printf()-like format string
  • ... – format arguments

See also printf(3), say_level

Example:

say_info("Some useful information: %s", status);
Found what you were looking for?
Feedback