MCPcopy Create free account
hub / github.com/Norbyte/bg3se / LogOsirisError

Method LogOsirisError

BG3Extender/Extender/ScriptExtender.cpp:180–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180void ScriptExtender::LogOsirisError(std::string_view msg)
181{
182 gCoreLibPlatformInterface.GlobalConsole->Print(DebugMessageType::Error, msg.data());
183 server_.Osiris().LogError(msg);
184
185 if (luaDebugger_) {
186 luaDebugger_->OnGenericError(msg.data());
187 }
188}
189
190void ScriptExtender::LogOsirisWarning(std::string_view msg)
191{

Callers 1

LogOsirisErrorFunction · 0.80

Calls 4

OnGenericErrorMethod · 0.80
PrintMethod · 0.45
dataMethod · 0.45
LogErrorMethod · 0.45

Tested by

no test coverage detected