Files
jlog/main.cpp
2024-08-21 09:23:02 -04:00

31 lines
694 B
C++

// Josh's Logger
// Minimal, robust, Modern (C++20) Logging Framework
// Created by Joshua O'Leary @ Redacted Software, June 2024
// Contact: josh@redacted.cc
// Contributors: william@redacted.cc maxi@redacted.cc
// This work is dedicated to the public domain.
#include "jlog/Logger.hpp"
int main()
{
jlog::GenericLogger Demo("demo", jlog::GlobalLogFile);
Demo("No new demo yet");
jlog::Info("dsadsd");
jlog::Warning("dsadsd");
jlog::Error("dsadsd");
jlog::Fatal("dsadsd");
jlog::Verbose("dsadsd");
jlog::Debug("dsadsd");
return 0;
}
//Windows :(
#ifdef _WIN32
extern "C" {
int wmain(int argc, wchar_t* argv[]) {
return main();
}
}
#endif