paysages3d/src/system/Logs.h

30 lines
467 B
C
Raw Normal View History

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