20 qDebug(log) << Q_FUNC_INFO;
21 qInfo(log) <<
"FreeRDP version:" << freerdp_get_version_string()
22 <<
"revision:" << freerdp_get_build_revision();
24 static wLogCallbacks* pCbLog =
new wLogCallbacks;
25 BOOL bRet = WLog_SetLogAppenderType(WLog_GetRoot(), WLOG_APPENDER_CALLBACK);
28 memset(pCbLog, 0,
sizeof(wLogCallbacks));
29 pCbLog->message = [](
const wLogMessage* msg)->BOOL{
35 qDebug(LoggerFreeRDP) << msg->TextString;
38 qInfo(LoggerFreeRDP) << msg->TextString;
41 qWarning(LoggerFreeRDP) << msg->TextString;
43 qCritical(LoggerFreeRDP) << msg->TextString;
47 qFatal(msg->FormatString, msg->TextString);
54 WLog_ConfigureAppender(WLog_GetLogAppender(WLog_GetRoot()),
"callbacks", pCbLog);
56 WLog_SetLogLevel(WLog_GetRoot(), WLOG_TRACE);
103 szDetails =
"- " + tr(
"FreeRDP");
105 szDetails +=
" - " + tr(
"version: ");
106 szDetails += freerdp_get_version_string();
108 szDetails +=
" - " + tr(
"Build version: ");
109 szDetails += freerdp_get_build_revision();
111 szDetails += freerdp_get_build_revision();
113#if FreeRDP_VERSION_MAJOR < 3
114 szDetails +=
" - " + tr(
"Build date: ");
115 szDetails += freerdp_get_build_date();
119 szDetails += freerdp_get_build_config();
124 szDetails += channel.GetDetails();