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

Function l_debug_error

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

Source from the content-addressed store, hash-verified

5static debug::Logger logger("lua-debug");
6
7static int l_debug_error(lua::State* L) {
8 auto text = lua::require_string(L, 1);
9 logger.error() << text;
10 return 0;
11}
12
13static int l_debug_warning(lua::State* L) {
14 auto text = lua::require_string(L, 1);

Callers

nothing calls this directly

Calls 2

require_stringFunction · 0.85
errorMethod · 0.45

Tested by

no test coverage detected