We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eff73b1 commit 51dc5e2Copy full SHA for 51dc5e2
src/lse/PluginManager.cpp
@@ -3,6 +3,7 @@
3
#include "Entry.h"
4
#include "Plugin.h"
5
#include "legacy/engine/EngineManager.h"
6
+#include "legacy/engine/EngineOwnData.h"
7
8
#include <ScriptX/ScriptX.h>
9
#include <exception>
@@ -54,6 +55,10 @@ auto PluginManager::load(ll::plugin::Manifest manifest) -> bool {
54
55
try {
56
script::EngineScope engineScope(scriptEngine);
57
58
+ // Set plugins's logger title
59
+ ENGINE_OWN_DATA()->logger.title = manifest.name;
60
+ ENGINE_OWN_DATA()->pluginName = manifest.name;
61
+
62
BindAPIs(&scriptEngine);
63
64
auto& self = getSelfPluginInstance();
0 commit comments