SE-Logger is a small C++ class written for logging data to files
Because I'm writing a game for fun. I'm doing mostly everything myself for learning purposes and I'm making everything I think is needed by other people Open Source under MIT-License
It's as simple as:
#include <Logger/logger.hpp>
void foo()
{
SE::Util::Logger logger();
logger.LogMessage("This is a logging test");
logger.LogError("This is an Error in file");
// Stuff goes here
// Don't forget to destroy the instance after
// finishing to free memory
logger.Destroy();
}
This will create two files in the executable's directory:
info.log and error.log and append to them accordingly
The TODO list:
- Outputting to custom file
- Outputting to custom directory
- Outputting to console
Feel Free to contact me at: