init
This commit is contained in:
14
main.c
Normal file
14
main.c
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "logging.h"
|
||||
|
||||
|
||||
int main() {
|
||||
// Your code goes here
|
||||
Logging *log = createLogging();
|
||||
Logger *logger = log->getLogger("testLogger",LOG_INFO);
|
||||
logger->info("This is an info message");
|
||||
logger->error("This is an error message");
|
||||
logger->debug("This is a debug message");
|
||||
logger->warning("This is a warning message");
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user