Hello!
i have native extension https://github.com/HGPoint/def_native_logger
here is lua code
local engine_info = sys.get_engine_info()
if native_logger then
native_logger.set_engine_log_level(engine_info.is_debug and 0 or 4)
log.set_log_function(native_logger.log)
native_logger.set_listener(engine_log_handler)
end
in release html5 build some users face issue,
app_controller.script:102: attempt to call field ‘set_engine_log_level’ (a nil value)
i checked in most browsers on windows and android, and in android social network apps, can’t repro this issue.
why lua can’t find “set_engine_log_level” method?