Added skin/section (if available) to logging.

This commit is contained in:
Brian Ferguson
2013-06-29 10:59:18 -06:00
parent 6d87614d4c
commit eeef84dfa0
29 changed files with 344 additions and 136 deletions

View File

@ -91,7 +91,7 @@ void MeasureCPU::ReadOptions(ConfigParser& parser, const WCHAR* section)
if (processor < 0 || processor > c_NumOfProcessors)
{
LogWarningF(L"CPU: Processor=%i invalid in [%s]", processor, section);
LogWarningF(this, L"CPU: Processor=%i invalid in [%s]", processor, section);
processor = 0;
}