nxt_log module¶
Logging utilities and constants.
-
initial_setup
()[source]¶ module-wide logging boilerplate. Sets logging level. Builds and sets up default handlers.
-
set_verbosity
(level)[source]¶ Set the verbosity of nxt logging. Controls what to output to stderr. 3 legal levels specified by integer. NOTE node prints are not affected.
0 - Nothing
1 - EXECINFO and higher
2 - Everything
Parameters: level (int) – level to set stderr verbosity to: 0, 1, or 2 Returns: stderr handler, if there is one Return type: logging.StreamHandler or None