nux-1.16.0
nux::LogFileOutput Class Reference

Output to log file. More...

#include <NuxCore/OutputDevice.h>

Inheritance diagram for nux::LogFileOutput:
nux::LogOutputDevice

List of all members.

Public Member Functions

void Shutdown ()
void Flush ()
void Serialize (const TCHAR *log_data, const TCHAR *LogPrefix, int severity)

Detailed Description

Output to log file.

Definition at line 61 of file OutputDevice.h.


Member Function Documentation

void nux::LogFileOutput::Flush ( ) [virtual]

Flush the write cache so the output to the file isn't truncated.

Reimplemented from nux::LogOutputDevice.

void nux::LogFileOutput::Serialize ( const TCHAR *  log_data,
const TCHAR *  LogPrefix,
int  severity 
) [virtual]

Write a stream to the log file.

Parameters:
log_dataStream characters to write.
LogPrefixA string to write before the input stream of characters.

Implements nux::LogOutputDevice.

void nux::LogFileOutput::Shutdown ( ) [virtual]

Closes output device and cleans up.

Reimplemented from nux::LogOutputDevice.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends