create project structure
This commit is contained in:
11
LLog.c
Normal file
11
LLog.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "include/LLog.h"
|
||||
#include <stdio.h>
|
||||
|
||||
void lLog(enum lLogLevel LOG_LEVEL, char* MESSAGE) {
|
||||
char* LOG_LEVEL_STRING = LOG_LEVEL == 0 ? "INFO" :
|
||||
LOG_LEVEL == 1 ? "WARNING" :
|
||||
LOG_LEVEL == 2 ? "ERROR" :
|
||||
LOG_LEVEL == 3 ? "DEBUG" :
|
||||
"invalid_log_level";
|
||||
printf("[%s]: %s\n", LOG_LEVEL_STRING, MESSAGE);
|
||||
}
|
||||
Reference in New Issue
Block a user