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.
18 lines
377 B
18 lines
377 B
#include <iostream>
|
|
|
|
#include "../lib/log.hpp"
|
|
|
|
using namespace std;
|
|
using namespace marcelb::logging;
|
|
|
|
log mylog("../example", Level::INFO, false);
|
|
|
|
int main() {
|
|
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");
|
|
|
|
return 0;
|
|
}
|
|
|