log Struct Reference

#include <protos.h>

Inherited by filelog, and posixsyslog.

List of all members.

Public Types

enum  level { info = 0, warning, error }

Public Member Functions

 log ()
virtual ~log ()
virtual void writeline (int level, const char *msg,...)=0
virtual void open ()=0
virtual void close ()=0

Public Attributes

bool console
bool enabled


Member Enumeration Documentation

enum log::level

Enumerator:
info 
warning 
error 


Constructor & Destructor Documentation

log::log (  )  [inline]

virtual log::~log (  )  [inline, virtual]


Member Function Documentation

virtual void log::close (  )  [pure virtual]

Implemented in filelog, and posixsyslog.

virtual void log::open (  )  [pure virtual]

Implemented in filelog, and posixsyslog.

virtual void log::writeline ( int  level,
const char *  msg,
  ... 
) [pure virtual]

Implemented in filelog, and posixsyslog.


Member Data Documentation


The documentation for this struct was generated from the following file:

Generated on Mon Dec 8 21:41:35 2008 for AssaultCube by  doxygen 1.5.7.1