Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Ogre::Log Class Reference

Log class for writing debug/log data to files. More...

#include <OgreLog.h>

List of all members.

Public Methods

 Log (const String &name, bool debugOutput=true)
 Usual constructor - called by LogManager. More...

 ~Log ()
 Default destructor. More...

void logMessage (const String &message, LogMessageLevel lml=LML_NORMAL)
 Log a message to the debugger and to log file (the default is "OGRE.log"),. More...

void setLogDetail (LoggingLevel ll)
 Sets the level of the log detail. More...


Protected Attributes

std::ofstream mfpLog
LoggingLevel mLogLevel
bool mDebugOut


Detailed Description

Log class for writing debug/log data to files.

Note:

Should not be used directly, but trough the LogManager class.


Constructor & Destructor Documentation

Ogre::Log::Log const String   name,
bool    debugOutput = true
 

Usual constructor - called by LogManager.

Ogre::Log::~Log  
 

Default destructor.


Member Function Documentation

void Ogre::Log::logMessage const String   message,
LogMessageLevel    lml = LML_NORMAL
 

Log a message to the debugger and to log file (the default is "OGRE.log"),.

void Ogre::Log::setLogDetail LoggingLevel    ll
 

Sets the level of the log detail.


Member Data Documentation

bool Ogre::Log::mDebugOut [protected]
 

std::ofstream Ogre::Log::mfpLog [protected]
 

LoggingLevel Ogre::Log::mLogLevel [protected]
 

Copyright © 2002 by The OGRE Team