Skip to content

Simple header file only library in C to easily make log files

License

Notifications You must be signed in to change notification settings

LeaoMartelo2/LogNest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogNest

A "Header file only" library for logging to files made in C, with focus on simplicity

image

Installing:

wget https://raw.githubusercontent.com/LeaoMartelo2/LogNest/main/lognest.h

just copy this if you are lazy

Usage:

  • Download lognest.h and add it to your project.
  • For the library to serve as implementation, add: #define LOGNEST_IMPLEMENTATION before the #include.
  • This also means you should only define the implementation in one file. Just including it serves as a header.
  • Optionally cuztomize the output path in lognest.h, by changing #define LOGNEST_FILE "your/custom/path"
  • The path is relative to the executable

image

About

Simple header file only library in C to easily make log files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages