Distributed File System 1
Distributed file system in C
Loading...
Searching...
No Matches
log.h
Go to the documentation of this file.
1/* lib/log.h
2 *
3 * Librería súper sencilla para log's.
4 *
5 */
6#ifndef LOG_H_
7#define LOG_H_
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13/* ----- Types ----- */
14
16typedef enum {
21} LogLevel;
22
23/* ----- Functions ----- */
24
30void log(LogLevel level, const char* format, ...);
31
32#ifdef __cplusplus
33}
34#endif
35
36#endif // LOG_H_ header
void log(LogLevel level, const char *format,...)
función de log
Definition log.c:8
LogLevel
¿Cuál log prefieres?
Definition log.h:16
@ ERROR
Definition log.h:19
@ FATAL
Definition log.h:20
@ INFO
Definition log.h:17
@ WARN
Definition log.h:18