diff options
Diffstat (limited to 'protocols/Tox/src/tox_netlib.cpp')
-rw-r--r-- | protocols/Tox/src/tox_netlib.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_netlib.cpp b/protocols/Tox/src/tox_netlib.cpp index 4c1ae3e09f..580a024360 100644 --- a/protocols/Tox/src/tox_netlib.cpp +++ b/protocols/Tox/src/tox_netlib.cpp @@ -12,7 +12,9 @@ void CToxProto::InitNetlib() nlu.szSettingsModule = m_szModuleName;
hNetlib = (HANDLE)CallService(MS_NETLIB_REGISTERUSER, 0, (LPARAM)&nlu);
- debugLogA("Setting protocol/module name to '%s'", m_szModuleName);
+ logger = new CLogger(hNetlib);
+
+ logger->Log("Setting protocol/module name to '%s'", m_szModuleName);
}
void CToxProto::UninitNetlib()
|