Project

General

Profile

Feature #971 ยป 0042-Lua-Add-deprecation-warning-to-error_log-and-debug_l.patch

Marko Lindqvist, 10/16/2024 03:20 AM

View differences:

common/scriptcore/tolua_common_a.pkg
-- Deprecated. New logging functions are listed above.
-- ***************************************************************************
function error_log(msg)
log.deprecation_warning("error_log()", "log.error()", "2.4");
log.error(msg)
end
function debug_log(msg)
log.deprecation_warning("debug_log()", "log.debug()", "2.4");
log.debug(msg)
end
    (1-1/1)