MCPcopy Create free account
hub / github.com/MihailRis/voxelcore / l_debug_log

Function l_debug_log

src/logic/scripting/lua/lua_extensions.cpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19static int l_debug_log(lua::State* L) {
20 auto text = lua::require_string(L, 1);
21 logger.info() << text;
22 return 0;
23}
24
25void initialize_libs_extends(lua::State* L) {
26 if (lua::getglobal(L, "debug")) {

Callers

nothing calls this directly

Calls 2

require_stringFunction · 0.85
infoMethod · 0.80

Tested by

no test coverage detected