log_default.c File Reference

#include "log4c.h"
#include <stdio.h>

Go to the source code of this file.

Data Structures

struct  DefaultLogAppender

Functions

static void doAppend (struct LogAppender *this, struct LogEvent *ev)

Variables

static struct
DefaultLogAppender 
defaultLogAppender
struct LogAppenderlog_defaultLogAppender = &defaultLogAppender.appender
static char * priorityNames []
 The root category's default logging function.


Function Documentation

static void doAppend ( struct LogAppender this,
struct LogEvent ev 
) [static]

Definition at line 57 of file log_default.c.

References LogEvent::ap, LogEvent::cat, LogEvent::fileName, LogEvent::fmt, LogEvent::functionName, LogEvent::lineNum, LogCategory::name, LogEvent::priority, priorityNames, and this.


Variable Documentation

struct DefaultLogAppender defaultLogAppender [static]

struct LogAppender* log_defaultLogAppender = &defaultLogAppender.appender

Definition at line 55 of file log_default.c.

char* priorityNames[] [static]

Initial value:

 {
    "Zero Priority",
    "TRACE",
    "DEBUG",
    "INFO",
    "NOTICE",
    "WARNING",
    "ERROR",
    "CRITICAL ERROR",
    "ALERT",
    "EMERGENCY",
}
The root category's default logging function.

Definition at line 34 of file log_default.c.

Referenced by doAppend().


Generated on Fri Sep 28 00:35:47 2007 for raceintospace by  doxygen 1.5.3