Merge pull request #2213 from akallabeth/wlog_callback_appender

Wlog callback appender
This commit is contained in:
Marc-André Moreau
2014-11-17 09:41:58 -05:00
17 changed files with 440 additions and 70 deletions

View File

@@ -20,10 +20,13 @@
#include "config.h"
#endif
#include <freerdp/log.h>
#include <rdtk/rdtk.h>
#include <X11/Xlib.h>
#define TAG "rdtk.sample"
int main(int argc, char** argv)
{
GC gc;
@@ -56,7 +59,7 @@ int main(int argc, char** argv)
if (!display)
{
fprintf(stderr, "Cannot open display\n");
WLog_ERR(TAG, "Cannot open display");
exit(1);
}