aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32
diff options
context:
space:
mode:
authorMadeleine Nilsson <madni@cendio.se>2024-11-04 14:59:46 +0100
committerMadeleine Nilsson <madni@cendio.se>2024-11-11 11:23:59 +0100
commit5b74bf1bbd4aef9f71ef76b718c79fe7b09bf5f5 (patch)
tree6c5cabc7ce61b3cf9ee622d0f7ae916e3f0d5bee /win/rfb_win32
parent260a3e0db5d09be0cb732d1a7ce8e758079e0c11 (diff)
downloadtigervnc-5b74bf1bbd4aef9f71ef76b718c79fe7b09bf5f5.tar.gz
tigervnc-5b74bf1bbd4aef9f71ef76b718c79fe7b09bf5f5.zip
Standardize log message prefix format
The reason for this is to keep a consistency through out the project.
Diffstat (limited to 'win/rfb_win32')
-rw-r--r--win/rfb_win32/SInput.cxx2
-rw-r--r--win/rfb_win32/Service.cxx12
2 files changed, 7 insertions, 7 deletions
diff --git a/win/rfb_win32/SInput.cxx b/win/rfb_win32/SInput.cxx
index 37144c29..258eb057 100644
--- a/win/rfb_win32/SInput.cxx
+++ b/win/rfb_win32/SInput.cxx
@@ -91,7 +91,7 @@ win32::SPointer::pointerEvent(const Point& pos, uint8_t buttonmask)
if (buttonmask & (1<<i)) {
flags |= buttonDownMapping[i];
if (buttonDataMapping[i]) {
- if (data) vlog.info("warning - two buttons set mouse_event data field");
+ if (data) vlog.info("Warning: Two buttons set mouse_event data field");
data = buttonDataMapping[i];
}
} else {
diff --git a/win/rfb_win32/Service.cxx b/win/rfb_win32/Service.cxx
index be3381da..dbbf6ab6 100644
--- a/win/rfb_win32/Service.cxx
+++ b/win/rfb_win32/Service.cxx
@@ -48,24 +48,24 @@ bool runAsService = false;
VOID WINAPI serviceHandler(DWORD control) {
switch (control) {
case SERVICE_CONTROL_INTERROGATE:
- vlog.info("cmd: report status");
+ vlog.info("CMD: Report status");
service->setStatus();
return;
case SERVICE_CONTROL_PARAMCHANGE:
- vlog.info("cmd: param change");
+ vlog.info("CMD: Param change");
service->readParams();
return;
case SERVICE_CONTROL_SHUTDOWN:
- vlog.info("cmd: OS shutdown");
+ vlog.info("CMD: OS shutdown");
service->osShuttingDown();
return;
case SERVICE_CONTROL_STOP:
- vlog.info("cmd: stop");
+ vlog.info("CMD: Stop");
service->setStatus(SERVICE_STOP_PENDING);
service->stop();
return;
};
- vlog.debug("cmd: unknown %lu", control);
+ vlog.debug("CMD: Unknown %lu", control);
}
@@ -126,7 +126,7 @@ Service::setStatus() {
void
Service::setStatus(DWORD state) {
if (status_handle == nullptr) {
- vlog.debug("warning - cannot setStatus");
+ vlog.debug("Warning: Cannot setStatus");
return;
}
status.dwCurrentState = state;