Fix up README

This commit is contained in:
2024-06-14 12:47:46 -04:00
parent 7ab579fa0b
commit 17bd6b17ff
4 changed files with 16 additions and 13 deletions

View File

@@ -37,14 +37,22 @@ Using jlog is straightforward:
#include <jlog.h>
int main() {
jlog::info("This is barely useful information.");
jlog::error("Oops, something went wrong.");
INFO("This is barely useful information.");
DEBUG("Debugging Information");
VERBOSE("Yadda Yadda Yadda");
WARNING("Slight miscalculation!");
ERROR("Oops, something went wrong.");
FATAL("Unrecoverable Error!!!");
return 0;
}
```
## Output
![Should be sample output...](img.png)
## TODO
* Custom Contexts: Allow users to specify custom logging contexts for better organization.