Logo Search packages:      
Sourcecode: passage version File versions  Download package

PrintLog Class Reference

#include <PrintLog.h>

Inheritance diagram for PrintLog:

Log FileLog

List of all members.


Detailed Description

A console-based implementation of the Log interface.

Author:
Jason Rohrer

Definition at line 31 of file PrintLog.h.


Public Member Functions

virtual int getLoggingLevel ()
virtual void logString (char *inLoggerName, char *inString, int inLevel)
virtual void logString (char *inString, int inLevel)
 PrintLog ()
virtual void setLoggingLevel (int inLevel)

Static Public Attributes

static const int CRITICAL_ERROR_LEVEL = 1
static const int DEACTIVATE_LEVEL = 0
static const int DETAIL_LEVEL = 5
static const int ERROR_LEVEL = 2
static const int INFO_LEVEL = 4
static const int TRACE_LEVEL = 6
static const int WARNING_LEVEL = 3

Protected Member Functions

char * generateLogMessage (char *inLoggerName, char *inString, int inLevel)

Protected Attributes

MutexLockmLock
int mLoggingLevel

Static Protected Attributes

static const char * mDefaultLoggerName = "general"

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index