[logging] remove __FUNCTION__ from actual message

prefer the log formatter to provide that information.
This commit is contained in:
Armin Novak
2023-01-23 12:03:18 +01:00
committed by akallabeth
parent f4ee5226b0
commit 641022b795
107 changed files with 736 additions and 820 deletions

View File

@@ -44,8 +44,8 @@ static UINT sf_peer_ainput_mouse_event(ainput_server_context* context, UINT64 ti
/* TODO: Implement */
WINPR_ASSERT(context);
WLog_WARN(TAG, "%s not implemented: 0x%08" PRIx64 ", 0x%08" PRIx64 ", %" PRId32 "x%" PRId32,
__FUNCTION__, timestamp, flags, x, y);
WLog_WARN(TAG, "not implemented: 0x%08" PRIx64 ", 0x%08" PRIx64 ", %" PRId32 "x%" PRId32,
timestamp, flags, x, y);
return CHANNEL_RC_OK;
}

View File

@@ -56,7 +56,7 @@ static UINT sf_peer_audin_open_result(audin_server_context* context, UINT32 resu
/* TODO: Implement */
WINPR_ASSERT(context);
WLog_WARN(TAG, "%s not implemented", __FUNCTION__);
WLog_WARN(TAG, "not implemented");
WLog_DBG(TAG, "AUDIN open result %" PRIu32 ".", result);
return CHANNEL_RC_OK;
}
@@ -74,8 +74,8 @@ static UINT sf_peer_audin_receive_samples(audin_server_context* context, const A
WINPR_ASSERT(format);
WINPR_ASSERT(buf);
WLog_WARN(TAG, "%s not implemented", __FUNCTION__);
WLog_DBG(TAG, "%s receive %" PRIdz " frames.", __FUNCTION__, nframes);
WLog_WARN(TAG, "not implemented");
WLog_DBG(TAG, "receive %" PRIdz " frames.", nframes);
return CHANNEL_RC_OK;
}