Made log lines consistent (#7270)

* Made log lines consistent

* Change log level for process list

* Only show advanced proc info at DEBUG2

* Fixed some more log lines

* Update AppUtilWindows.cpp
This commit is contained in:
Nick Bolton
2023-07-28 01:45:27 -07:00
committed by GitHub
parent 2fce545c17
commit 947efd5e58
31 changed files with 101 additions and 99 deletions

View File

@ -893,7 +893,8 @@ MSWindowsKeyState::pollPressedKeys(KeyButtonSet& pressedKeys) const
{
BYTE keyState[256];
if (!GetKeyboardState(keyState)) {
LOG((CLOG_ERR "GetKeyboardState returned false on pollPressedKeys"));
LOG((CLOG_WARN "keyboard state is unexpected"));
LOG((CLOG_DEBUG "function 'GetKeyboardState' returned false on 'pollPressedKeys'"));
return;
}
for (KeyButton i = 1; i < 256; ++i) {
@ -1318,7 +1319,7 @@ MSWindowsKeyState::setWindowGroup(SInt32 group)
if(!PostMessage(targetWindow, WM_INPUTLANGCHANGEREQUEST,
sysCharSet ? 1 : 0, (LPARAM)m_groups[group])) {
LOG((CLOG_WARN "Failed to post change language message!"));
LOG((CLOG_WARN "failed to post change language message"));
}
// XXX -- use a short delay to let the target window process the message