O2S C Library 1.8.2
Provide high-level data-structures and other fundamental tools for C projects
Loading...
Searching...
No Matches
log.h File Reference

Simplistic logging utilities. More...

#include "o2s/thread.h"
#include <stdio.h>

Go to the source code of this file.

Macros

#define log_trace(...)
 Report information of the lowest importance.
#define log_debug(...)
 Report information useful to the developer.
#define log_info(...)
 Report a significant event.
#define log_warning(...)
 Report an usual condition, not significant enough to abort the current operation.
#define log_error(...)
 Report a condition causing the current operation to abort.
#define log_fatal(...)
 Report a condition causing the program to halt.
Configuration
#define LOG_LEVEL
 Set this value to control the logs verbosity.
#define LOG_OUTPUT_FILE
 Choose the file in which log lines are written.

Detailed Description

Simplistic logging utilities.

Author
Antoine GAGNIERE
Hugo FOLCHER

Definition in file log.h.