Модуль say (логирование)¶
-
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_DEBUG
¶
-
enumerator
-
say
(level, format, ...)¶ Format and print a message to Tarantool log file.
Параметры: - level (int) – log level
- char* format (const) –
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_debug
(format, ...)¶ -
say_syserror
(format, ...)¶ Format and print a message to Tarantool log file.
Параметры: - char* format (const) –
printf()
-like format string - ... – format arguments
See also printf(3), say_level
Example:
say_info("Some useful information: %s", status);
- char* format (const) –