This allows NodeCore log messages to be properly filtered by the debug_log_level and chat_log_level settings.