A library for logging options
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
log/test/test.cpp

19 lines
377 B

1 year ago
#include <iostream>
#include "../lib/log.hpp"
using namespace std;
8 months ago
using namespace marcelb::logging;
log mylog("../example", Level::INFO, false);
1 year ago
int main() {
8 months ago
mylog.debug("Start debug loging");
mylog.info("Start info loging");
mylog.warning("Start warning loging");
mylog.error("Start error loging");
mylog.fatal("Start fatal loging");
1 year ago
return 0;
}