Initial implementation of logging library

Signed-off-by: Aidan Hahn <aidan@aidanis.online>
This commit is contained in:
Aidan Hahn 2022-02-27 20:45:41 -08:00
commit 32cea23421
No known key found for this signature in database
GPG key ID: 327711E983899316
6 changed files with 998 additions and 0 deletions

15
README.md Normal file
View file

@ -0,0 +1,15 @@
# Introduction
- *alog* or *a logger* is a lightweight, portable logger written in C.
- It is entirely unremarkable
- Usage of *alog* is extremely simple. [See the API](alog.h)
# How to build
```bash
$ make so
```
# Variables
The following (shell) variables can be set to influence behavior at runtime:
- **ALOG_DEBUG**: Set this variable to compile with debug symbols
- **ALOG_HIJACK_PRINTF**: Set this variable to compile along with a printf implementation that leverages alog. Probably dont though.