Use DebugView or a similar program to view output
Code: Select all
Root {
KLog {
Settings {
DefaultLevel = 'LogAll'
StoreDefaultLevels = '0'
PrependExeName = '0'
ClearDbgView = '1'
}
}
}
DefaultLevel = 'LogAll' - Only the message type specified in this field will be created.
Possible options:
- LogAll - log all messages
- Nothing - no messages
- Error - only error messages
- Warn - only warn messages
- Info - only info messages
- Spam - only spam messages
Example: PestGfx.Scape = 'Warn' - PestGfx.Scape module will only create warn messages now, they will be displayed only if "LogAll" or "Warn" is set in the DefaultLevel field.
PrependExeName = '1' - adds the binary file name that created the message to the debug output. (Paraworld.exe, PWClient.exe, PWServer.exe)
Usage:
KLog.LogError("", "");
CGameWrap.LogError("", "");
CSrvWrap.LogError("", "");
The rest can be found in UslAutoDocs.
If pw crashes it also creates logs in \AppData\Local\CrashDumps and Paraworld\bin\uslcrashlog.txt