V-Gears 0
Free Final Fantasy VII engine.
Logger Class Reference

Application logger utility. More...

#include <Logger.h>

Collaboration diagram for Logger:

Public Member Functions

 Logger (const Ogre::String &log_file_name)
 Constructor. More...
 
virtual ~Logger ()
 Destructor. More...
 
void Log (const Ogre::String &text)
 Logs a message. More...
 
void LogW (const Ogre::UTFString &text)
 Logs a message. More...
 
void Log (std::vector< unsigned char > &text)
 Logs messages. More...
 

Private Attributes

Ogre::String log_file_
 PAth to the log file. More...
 

Detailed Description

Application logger utility.

Constructor & Destructor Documentation

◆ Logger()

Logger::Logger ( const Ogre::String &  log_file_name)
explicit

Constructor.

Parameters
[in]log_file_namePath to the log file.

◆ ~Logger()

Logger::~Logger ( )
virtual

Destructor.

Member Function Documentation

◆ Log() [1/2]

void Logger::Log ( const Ogre::String &  text)

Logs a message.

Parameters
[in]textMessage to log.

◆ Log() [2/2]

void Logger::Log ( std::vector< unsigned char > &  text)

Logs messages.

Parameters
[in]textMessages to log.

◆ LogW()

void Logger::LogW ( const Ogre::UTFString &  text)

Logs a message.

Parameters
[in]textMessage to log.

Member Data Documentation

◆ log_file_

Ogre::String Logger::log_file_
private

PAth to the log file.


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