FreeRDP
Layout.c File Reference
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <winpr/crt.h>
#include <winpr/print.h>
#include <winpr/sysinfo.h>
#include <winpr/environment.h>
#include "wlog.h"
#include "wlog/Layout.h"

Functions

static void WLog_PrintMessagePrefixVA (wLog *log, wLogMessage *message, const char *format, va_list args)
 
static void WLog_PrintMessagePrefix (wLog *log, wLogMessage *message, const char *format,...)
 
BOOL WLog_Layout_GetMessagePrefix (wLog *log, wLogLayout *layout, wLogMessage *message)
 
wLogLayout * WLog_GetLogLayout (wLog *log)
 
BOOL WLog_Layout_SetPrefixFormat (wLog *log, wLogLayout *layout, const char *format)
 
wLogLayout * WLog_Layout_New (wLog *log)
 
void WLog_Layout_Free (wLog *log, wLogLayout *layout)
 

Variables

const char * WLOG_LEVELS [7]
 

Function Documentation

wLogLayout* WLog_GetLogLayout ( wLog *  log)

Here is the call graph for this function:

Here is the caller graph for this function:

void WLog_Layout_Free ( wLog *  log,
wLogLayout *  layout 
)

Here is the caller graph for this function:

BOOL WLog_Layout_GetMessagePrefix ( wLog *  log,
wLogLayout *  layout,
wLogMessage *  message 
)

Here is the call graph for this function:

Here is the caller graph for this function:

wLogLayout* WLog_Layout_New ( wLog *  log)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL WLog_Layout_SetPrefixFormat ( wLog *  log,
wLogLayout *  layout,
const char *  format 
)

Here is the call graph for this function:

Here is the caller graph for this function:

static void WLog_PrintMessagePrefix ( wLog *  log,
wLogMessage *  message,
const char *  format,
  ... 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void WLog_PrintMessagePrefixVA ( wLog *  log,
wLogMessage *  message,
const char *  format,
va_list  args 
)
static

Log Layout

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const char* WLOG_LEVELS[7]

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.

References for general logging concepts:

Short introduction to log4j: http://logging.apache.org/log4j/1.2/manual.html

logging - Logging facility for Python: http://docs.python.org/2/library/logging.html