Plasma Engine  2.0
Loading...
Searching...
No Matches
plLogWriter::HTML Class Reference

A log writer that writes out log messages to an HTML file. More...

#include <HTMLWriter.h>

Public Member Functions

void LogMessageHandler (const plLoggingEventData &eventData)
 Register this at plLog to write all log messages to an HTML file.
 
void BeginLog (plStringView sFile, plStringView sAppTitle)
 Opens the given file for writing the log. From now on all incoming log messages are written into it.
 
void EndLog ()
 Closes the HTML file and stops logging the incoming message.
 
const plFileWriterGetOpenedLogFile () const
 Returns the name of the log-file that was really opened. Might be slightly different than what was given to BeginLog, to allow parallel execution of the same application.
 
void SetTimestampMode (plLog::TimestampMode mode)
 Allows to indicate in what form timestamps should be added to log messages.
 

Detailed Description

A log writer that writes out log messages to an HTML file.

Create an instance of this class, register the LogMessageHandler at plLog and pass the pointer to the instance as the pPassThrough argument to it.


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