paysages3d/src/system/Logs.h

32 lines
466 B
C
Raw Normal View History

#ifndef LOGS_H
#define LOGS_H
#include "system_global.h"
#include <iostream>
namespace paysages {
namespace system {
/**
* Logger streams
*/
class Logs
{
public:
static std::ostream &debug();
static std::ostream &warning();
static std::ostream &error();
2015-09-14 17:25:54 +00:00
// Log a timestamp on the debug output
static void debugTimestamp(const std::string &message);
// Disable all logs from now on
static void disable();
};
}
}
#endif // LOGS_H