Loading...
Searching...
No Matches
log_printfnoformat: puts log module

This module implements an example logging module using puts to just print the format string saving on the number of libraries need. More...

Detailed Description

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
 

Function Documentation

◆ log_write()

static void log_write ( unsigned  level,
const char *  format,
  ... 
)
inlinestatic

log_write overridden function

This example function will only print the log's format string. Use it where printf might be too heavy.

Parameters
[in]level(unused)
[in]formatString that the function will print

Definition at line 42 of file log_module.h.