FreeRDP
FileAppender.c File Reference
#include "FileAppender.h"
#include "Message.h"
#include <winpr/crt.h>
#include <winpr/environment.h>
#include <winpr/file.h>
#include <winpr/path.h>

Functions

static BOOL WLog_FileAppender_SetOutputFileName (wLogFileAppender *appender, const char *filename)
 
static BOOL WLog_FileAppender_SetOutputFilePath (wLogFileAppender *appender, const char *filepath)
 
static BOOL WLog_FileAppender_Open (wLog *log, wLogAppender *appender)
 
static BOOL WLog_FileAppender_Close (wLog *log, wLogAppender *appender)
 
static BOOL WLog_FileAppender_WriteMessage (wLog *log, wLogAppender *appender, wLogMessage *message)
 
static BOOL WLog_FileAppender_WriteDataMessage (wLog *log, wLogAppender *appender, wLogMessage *message)
 
static BOOL WLog_FileAppender_WriteImageMessage (wLog *log, wLogAppender *appender, wLogMessage *message)
 
static BOOL WLog_FileAppender_Set (wLogAppender *appender, const char *setting, void *value)
 
static void WLog_FileAppender_Free (wLogAppender *appender)
 
wLogAppender * WLog_FileAppender_New (wLog *log)
 

Variables

static int g_DataId = 0
 
static int g_ImageId = 0
 

Function Documentation

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

Here is the caller graph for this function:

static void WLog_FileAppender_Free ( wLogAppender *  appender)
static

Here is the caller graph for this function:

wLogAppender* WLog_FileAppender_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_FileAppender_Open ( wLog *  log,
wLogAppender *  appender 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL WLog_FileAppender_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_FileAppender_SetOutputFileName ( wLogFileAppender *  appender,
const char *  filename 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL WLog_FileAppender_SetOutputFilePath ( wLogFileAppender *  appender,
const char *  filepath 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL WLog_FileAppender_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_FileAppender_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_FileAppender_WriteMessage ( 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