Public Member Functions

zeus::TLogger Class Reference

#include <Logger.h>

Inheritance diagram for zeus::TLogger:
zeus::TAutoPtr< ILogger > zeus::TAutoPtrBase< ILogger >

List of all members.

Public Member Functions

 TLogger ()
 TLogger (ILogger *pObj)
virtual ~TLogger ()
void print (Uint uiMode, const char *pTxt,...)
void println (Uint uiMode, const char *pTxt,...)
void printf (Uint uiMode, const char *pTxt,...)
void printfln (Uint uiMode, const char *pTxt,...)
void out (const char *pTxt,...)
void resetOffset ()
void setOffset (Int iValue)
void indent ()
void unindent ()

Detailed Description

This class is responsible for logging and debug output


Constructor & Destructor Documentation

zeus::TLogger::TLogger (  ) [inline]

Creates the Loggers

zeus::TLogger::TLogger ( ILogger obj ) [inline]

Creates the Loggers

zeus::TLogger::~TLogger (  ) [inline, virtual]

Destroyes des Loggers


Member Function Documentation

void zeus::TLogger::indent (  ) [inline]

Increases the Offset

void TLogger::out ( const char *  pTxt,
  ... 
)

Resets the offset of the indention back to 0

void TLogger::print ( Uint  uiMode,
const char *  pTxt,
  ... 
)

Print out a text without using the indention and no new line at the end

Parameters:
uiMode: logging mode (see define)
pTxt: Text
void TLogger::printf ( Uint  uiMode,
const char *  pTxt,
  ... 
)

Print out a text using the indention with a no new line at the end

Parameters:
uiMode: logging mode (see define)
pTxt: Text
void TLogger::printfln ( Uint  uiMode,
const char *  pTxt,
  ... 
)

Print out a text using the indention with a new line at the end

Parameters:
uiMode: logging mode (see define)
pTxt: Text
void TLogger::println ( Uint  uiMode,
const char *  pTxt,
  ... 
)

Print out a text without using the indention with a new line at the end

Parameters:
uiMode: logging mode (see define)
pTxt: Text
void zeus::TLogger::resetOffset (  ) [inline]

Resets the offset of the indention back to 0

void zeus::TLogger::setOffset ( Int  iValue ) [inline]

Sets the offset of the indention to value

void zeus::TLogger::unindent (  ) [inline]

Decreases the Offset


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:28:39