FreeRDP
ConsoleAppender.c File Reference
#include "ConsoleAppender.h"
#include "Message.h"

Macros

#define WLOG_CONSOLE_DEFAULT   0
 
#define WLOG_CONSOLE_STDOUT   1
 
#define WLOG_CONSOLE_STDERR   2
 
#define WLOG_CONSOLE_DEBUG   4
 

Functions

static BOOL WLog_ConsoleAppender_Open (wLog *log, wLogAppender *appender)
 
static BOOL WLog_ConsoleAppender_Close (wLog *log, wLogAppender *appender)
 
static BOOL WLog_ConsoleAppender_WriteMessage (wLog *log, wLogAppender *appender, wLogMessage *message)
 
static BOOL WLog_ConsoleAppender_WriteDataMessage (wLog *log, wLogAppender *appender, wLogMessage *message)
 
static BOOL WLog_ConsoleAppender_WriteImageMessage (wLog *log, wLogAppender *appender, wLogMessage *message)
 
static BOOL WLog_ConsoleAppender_WritePacketMessage (wLog *log, wLogAppender *appender, wLogMessage *message)
 
static BOOL WLog_ConsoleAppender_Set (wLogAppender *appender, const char *setting, void *value)
 
static void WLog_ConsoleAppender_Free (wLogAppender *appender)
 
wLogAppender * WLog_ConsoleAppender_New (wLog *log)
 

Variables

static int g_DataId = 0
 
static int g_ImageId = 0
 
static int g_PacketId = 0
 

Macro Definition Documentation

#define WLOG_CONSOLE_DEBUG   4
#define WLOG_CONSOLE_DEFAULT   0

WinPR: Windows Portable Runtime WinPR Logger

Copyright 2013 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

#define WLOG_CONSOLE_STDERR   2
#define WLOG_CONSOLE_STDOUT   1

Function Documentation

static BOOL WLog_ConsoleAppender_Close ( wLog *  log,
wLogAppender *  appender 
)
static

Here is the caller graph for this function:

static void WLog_ConsoleAppender_Free ( wLogAppender *  appender)
static

Here is the call graph for this function:

Here is the caller graph for this function:

wLogAppender* WLog_ConsoleAppender_New ( wLog *  log)

WinPR: Windows Portable Runtime WinPR Logger

Copyright 2013 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL WLog_ConsoleAppender_Open ( wLog *  log,
wLogAppender *  appender 
)
static

Here is the caller graph for this function:

static BOOL WLog_ConsoleAppender_Set ( wLogAppender *  appender,
const char *  setting,
void value 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL WLog_ConsoleAppender_WriteDataMessage ( wLog *  log,
wLogAppender *  appender,
wLogMessage *  message 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL WLog_ConsoleAppender_WriteImageMessage ( wLog *  log,
wLogAppender *  appender,
wLogMessage *  message 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL WLog_ConsoleAppender_WriteMessage ( wLog *  log,
wLogAppender *  appender,
wLogMessage *  message 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL WLog_ConsoleAppender_WritePacketMessage ( wLog *  log,
wLogAppender *  appender,
wLogMessage *  message 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

int g_DataId = 0
static
int g_ImageId = 0
static
int g_PacketId = 0
static