37 lines
1.1 KiB
C++
37 lines
1.1 KiB
C++
#include <jlog/jlog.hpp>
|
|
|
|
int main()
|
|
{
|
|
INFO("This is barely useful information.");
|
|
DEBUG("Debugging Information");
|
|
VERBOSE("Yadda Yadda Yadda");
|
|
WARNING("Slight miscalculation!");
|
|
ERROR("Oops, something went wrong.");
|
|
FATAL("Unrecoverable Error!!!");
|
|
|
|
SINFO("This is even less useful information.");
|
|
SDEBUG("Shorter Debugging Information");
|
|
SVERBOSE("Yadda Yadda");
|
|
SWARNING("Minute miscalculation!");
|
|
SERROR("Oops, something went wrong, but the programmer used the short error logger so you're fucked!");
|
|
SFATAL("Unrecoverable Error, but the programmer used the short fatal logger so you're even more fucked!!!");
|
|
|
|
USINFO("This is EVEN less useful information.");
|
|
USDEBUG("Ultra compact debugging information.");
|
|
USVERBOSE("Isn't this an oxymoron?");
|
|
USWARNING("Captain Quark grade miscalculation!");
|
|
USERROR("You're fucked!");
|
|
USFATAL("You're super fucked!!!");
|
|
|
|
return 0;
|
|
///
|
|
}
|
|
|
|
//Windows :(
|
|
#ifdef _WIN32
|
|
extern "C" {
|
|
int wmain(int argc, wchar_t* argv[]) {
|
|
return main();
|
|
}
|
|
}
|
|
#endif |