Skip to content

lemmtopia/logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

logger

A very tiny and portable logging library

Usage

Just put logger.c and logger.h in you project and include logger.c

logger_log(int type, const char *message, const char* file, int line);

// Examples
logger_log(LOGGER_WARN, "A very cool warning!", __FILE__, __LINE__);
logger_log(LOGGER_ERROR, "A very bad error!", __FILE__, __LINE__);
logger_log(LOGGER_DEBUG, "A very amazing debug message!", __FILE__, __LINE__);

About

A very tiny and portable logging library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages