aboutsummaryrefslogtreecommitdiff
path: root/src/log.c
blob: 3a899d3ed0e4259662c8fa3e6df13e9e9f7f10fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "include/log.h"


void log_dbg(char* content) {
   fprintf(stderr, KMAG "[DEBUG] %s%s\n", KNRM, content);
};

void log_inf(char* content) {
   fprintf(stderr, KBLU "[INFO] %s%s\n", KNRM, content);
};

void log_war(char* content) {
   fprintf(stderr, KYEL "[WARNING] %s%s\n", KNRM, content);
};
   
void log_err(char* content) {
   fprintf(stderr, KRED "[ERROR] %s%s\n", KNRM, content);
};