[winpr,wlog] include function name in log message
default to print the function the log message was called from
This commit is contained in:
parent
641022b795
commit
1dc2225bd2
@ -664,7 +664,7 @@ static BOOL freerdp_dsp_channel_mix(FREERDP_DSP_CONTEXT* context, const BYTE* sr
|
|||||||
|
|
||||||
case 2: /* We only support stereo, so we can not handle this case. */
|
case 2: /* We only support stereo, so we can not handle this case. */
|
||||||
default: /* Unsupported number of channels */
|
default: /* Unsupported number of channels */
|
||||||
WLog_WARN(TAG, "unsuported source channel count %" PRIu16, srcFormat->nChannels);
|
WLog_WARN(TAG, "unsupported source channel count %" PRIu16, srcFormat->nChannels);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -692,7 +692,7 @@ static BOOL freerdp_dsp_channel_mix(FREERDP_DSP_CONTEXT* context, const BYTE* sr
|
|||||||
|
|
||||||
case 1: /* Invalid, do we want to use a 0 channel sound? */
|
case 1: /* Invalid, do we want to use a 0 channel sound? */
|
||||||
default: /* Unsupported number of channels */
|
default: /* Unsupported number of channels */
|
||||||
WLog_WARN(TAG, "unsuported channel count %" PRIu16, srcFormat->nChannels);
|
WLog_WARN(TAG, "unsupported channel count %" PRIu16, srcFormat->nChannels);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -541,7 +541,7 @@ static BOOL certificate_write_server_public_signature(const rdpCertificate* cert
|
|||||||
Stream_Write_UINT16(s, wSignatureBlobType);
|
Stream_Write_UINT16(s, wSignatureBlobType);
|
||||||
Stream_Write_UINT16(s, wSignatureBlobLen);
|
Stream_Write_UINT16(s, wSignatureBlobLen);
|
||||||
|
|
||||||
WLog_WARN(TAG, "TODO: Calcualte proper signature");
|
WLog_WARN(TAG, "TODO: Calculate proper signature");
|
||||||
|
|
||||||
Stream_Write(s, signature, wSignatureBlobLen);
|
Stream_Write(s, signature, wSignatureBlobLen);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
@ -403,9 +403,9 @@ wLogLayout* WLog_Layout_New(wLog* log)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
#ifdef ANDROID
|
#ifdef ANDROID
|
||||||
layout->FormatString = _strdup("[pid=%pid:tid=%tid] - ");
|
layout->FormatString = _strdup("[pid=%pid:tid=%tid] - [%fn]: ");
|
||||||
#else
|
#else
|
||||||
layout->FormatString = _strdup("[%hr:%mi:%se:%ml] [%pid:%tid] [%lv][%mn] - ");
|
layout->FormatString = _strdup("[%hr:%mi:%se:%ml] [%pid:%tid] [%lv][%mn] - [%fn]: ");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (!layout->FormatString)
|
if (!layout->FormatString)
|
||||||
|
Loading…
Reference in New Issue
Block a user