Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

util::io::LogFile Class Reference

#include <LogFile.h>

List of all members.

Detailed Description

A class for writing log files.

LogFile writes messages to a file, and adds a time stamp to each printed message. The implementation is MT-safe.

Public Methods

 LogFile (char *fileName)
 Create a new log file.

 ~LogFile ()
void log (const std::string &msg)
void log (const char *msg)

Constructor & Destructor Documentation

util::io::LogFile::LogFile char *    fileName

Create a new log file.

filename  the name of the file
IOException  if the file cannot be written to

The documentation for this class was generated from the following files:
Documentation generated on 11.09.2003 with Doxygen.
The documentation is copyrighted material.
Copyright © Topi Mäenpää 2003. All rights reserved.