Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/himbeerserverde/clog

Simple logging library for C
https://github.com/himbeerserverde/clog

Last synced: 5 days ago
JSON representation

Simple logging library for C

Awesome Lists containing this project

README

        

# clog
Simple logging library for C

If you want to save the logs to a file you can use `tee`:
```
someprogram | tee logfile.txt
```

The `-a` command line switch makes tee append to the file
rather than truncating in overwriting it:
```
echo -e "\n---------\nSEPERATOR\n---------\n" >> logfile.txt
someprogram | tee -a logfile.txt
```