Saga
Saga Game Engine
Loading...
Searching...
No Matches
logger.cpp File Reference
#include "logger.h"
#include <stdio.h>
#include <iostream>
#include <string.h>
#include <cstdarg>
Include dependency graph for logger.cpp:

Namespaces

namespace  Saga
 

Functions

void Saga::reportAssertionFailed (const char *expression, const char *message, const char *file, int line,...)
 Output a message signaling that an assertion has failed. This message is of the form: Assertion Failure: #expression, message: message, in file: file, line: line
 
bool Saga::initializeLogger ()
 Initialize the logger. Neccessary to call before any logging.
 
void Saga::shutDownLogger ()
 Shut down the logger, and flush any buffered output.
 
void Saga::logOutput (LogLevel level, const char *message,...)
 Log an output.