This commit is contained in:
2024-08-12 12:28:43 +08:00
commit bd72ed874b
7 changed files with 213 additions and 0 deletions

14
main.c Normal file
View 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;
}