#include <cstdarg>
#include <cstdlib>
Namespaces | |
namespace | Syndicate |
namespace | Syndicate::Data |
Defines | |
#define | DEBUG |
#define | Debug(x...) Syndicate::Data::debug(__FILE__, __PRETTY_FUNCTION__, __LINE__, x); |
#define | Assert(cond) if(!cond) { Syndicate::Data::debug(__FILE__, __PRETTY_FUNCTION__, __LINE__, "Assertion "#cond" failed !\n"); abort(); } |
#define | Error(x...) Syndicate::Data::error(__FILE__, __PRETTY_FUNCTION__, __LINE__, x); |
Functions | |
void | Syndicate::Data::error (const char *file, const char *function, const unsigned line, const char *format,...) |
void | Syndicate::Data::debug (const char *file, const char *function, const unsigned line, const char *format,...) |
#define DEBUG |
#define Debug | ( | x... | ) | Syndicate::Data::debug(__FILE__, __PRETTY_FUNCTION__, __LINE__, x); |
#define Assert | ( | cond | ) | if(!cond) { Syndicate::Data::debug(__FILE__, __PRETTY_FUNCTION__, __LINE__, "Assertion "#cond" failed !\n"); abort(); } |
#define Error | ( | x... | ) | Syndicate::Data::error(__FILE__, __PRETTY_FUNCTION__, __LINE__, x); |