This module implements an example logging module using puts to just print the format string saving on the number of libraries need. More...
This module implements an example logging module using puts to just print the format string saving on the number of libraries need.
Files | |
file | log_module.h |
log_module header | |
Functions | |
static void | log_write (unsigned level, const char *format,...) |
log_write overridden function | |
|
inlinestatic |
log_write overridden function
This example function will only print the log's format string. Use it where printf might be too heavy.
[in] | level | (unused) |
[in] | format | String that the function will print |
Definition at line 42 of file log_module.h.