summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/ieview_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IEView/src/ieview_main.cpp')
-rw-r--r--plugins/IEView/src/ieview_main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/IEView/src/ieview_main.cpp b/plugins/IEView/src/ieview_main.cpp
index 7da866604a..e8d59998bc 100644
--- a/plugins/IEView/src/ieview_main.cpp
+++ b/plugins/IEView/src/ieview_main.cpp
@@ -67,6 +67,8 @@ int CMPlugin::Load()
workingDirUtf8 = mir_utf8encodeW(workingDir);
delete[] workingDir;
+ hLogger = RegisterSrmmLog("ieview", L"IEView log", &logBuilder);
+
HookEvent(ME_OPT_INITIALISE, IEViewOptInit);
HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded);
@@ -83,6 +85,7 @@ int CMPlugin::Load()
int CMPlugin::Unload()
{
+ UnregisterSrmmLog(hLogger);
Options::uninit();
DestroyHookableEvent(hHookOptionsChanged);
IEView::release();