Commit f23cf8e652879384812a63aa38bf782fcb100b6b
1 parent
d4d38789
Setting up the logger
Showing
1 changed file
with
22 additions
and
0 deletions
include/log.h
0 → 100644
1 | +#pragma once | |
2 | + | |
3 | +#include <syslog.h> | |
4 | +#include <unistd.h> | |
5 | + | |
6 | +namespace osdev { | |
7 | +namespace components { | |
8 | +namespace mqtt { | |
9 | + | |
10 | +static void LogTrace(); | |
11 | + | |
12 | +static void LogDebug(); | |
13 | + | |
14 | +static void LogInfo(); | |
15 | + | |
16 | +static void LogWarning(); | |
17 | + | |
18 | +static void LogError(); | |
19 | + | |
20 | +} /* End namespace mqtt */ | |
21 | +} /* End namespace components */ | |
22 | +} /* End namespace osdev */ | ... | ... |