MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / Error

Method Error

MonaServer/sources/Script.cpp:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43int Script::Error(lua_State *pState) {
44 SCRIPT_BEGIN(pState)
45 SCRIPT_LOG(Mona::Logger::LEVEL_ERROR,__FILE__,__LINE__, false, ToPrint(pState,LOG_BUFFER))
46 SCRIPT_END
47 return 0;
48}
49int Script::Warn(lua_State *pState) {
50 SCRIPT_BEGIN(pState)
51 SCRIPT_LOG(Mona::Logger::LEVEL_WARN,__FILE__,__LINE__, false, ToPrint(pState,LOG_BUFFER))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected