C Everything
This is a C repository containing a curated set of generic data structures and algorithm.
logger.c File Reference

Contains definitions of routines for logger module. More...

#include "common.h"
#include "logger.h"

Go to the source code of this file.

Functions

void logger_init ()
 
Initailize logger module More...
 
int app_log (char *module, int level, char *prefix, const char *format,...)
 
Used for defining different logging modules such as warn, error, debug, trace ... More...
 

Detailed Description

Contains definitions of routines for logger module.

Definition in file logger.c.

Function Documentation

◆ app_log()

int app_log ( char *  module,
int  level,
char *  prefix,
const char *  format,
  ... 
)


Used for defining different logging modules such as warn, error, debug, trace ...

Returns
- NA

Definition at line 33 of file logger.c.

◆ logger_init()

void logger_init ( )


Initailize logger module

Returns
- NA

Definition at line 17 of file logger.c.