Raven Engine v0.1
Loading...
Searching...
No Matches
Handler.h File Reference

Defines console and file handlers for the logging system. More...

#include <fstream>
#include <iostream>

Classes

class  Raven::ConsoleHandler
 Handler that writes log messages to the console. More...
class  Raven::FileHandler
 Handler that writes log messages to a file. More...

Namespaces

namespace  Raven

Detailed Description

Defines console and file handlers for the logging system.

The ConsoleHandler writes formatted log messages to standard output. The FileHandler writes log messages to a specified file, truncating on each run. Both provide a WriteImpl method used by the Logger to output messages based on handler type.

See also
Logger.h, Format.h, LogLevel.h
Author
SkyHorizon