Angel
A 2D Game Prototyping Engine
Public Member Functions
DeveloperLog Class Reference

Abstract base class for logs. More...

#include <Log.h>

+ Inheritance diagram for DeveloperLog:

List of all members.

Public Member Functions

virtual ~DeveloperLog ()
virtual void Log (const String &val)=0
void Printf (const char *format,...)

Detailed Description

The DeveloperLog simply provides an interface for other Log classes to implement.

Definition at line 40 of file Log.h.


Constructor & Destructor Documentation

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

Virtual destructor needed in abstract base class.

Definition at line 46 of file Log.h.


Member Function Documentation

virtual void DeveloperLog::Log ( const String &  val) [pure virtual]

Logs a string.

Pure virtual function; must be implemented in the subclass.

Parameters:
valThe string to be logged.

Implemented in CompoundLog, SystemLog, FileLog, and ConsoleLog.

void DeveloperLog::Printf ( const char *  format,
  ... 
)

Log a formatted string using printf syntax.

http://www.cplusplus.com/reference/clibrary/cstdio/printf.html

Parameters:
formatThe format string
...The parameters to substitute into the format string

Definition at line 61 of file Log.cpp.


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