Updated README. New demo image. Fixed typo in demo.
This commit is contained in:
18
README.md
18
README.md
@@ -35,17 +35,15 @@ Using jlog is straightforward:
|
||||
|
||||
```cpp
|
||||
|
||||
#include <jlog.h>
|
||||
#include <jlog/jlog.hpp>
|
||||
|
||||
int main() {
|
||||
LOGLEVEL(jlog::severity::debug); // <- see jlog::severity for full list of LogTrace levels
|
||||
|
||||
info("This is barely useful information.");
|
||||
debug("Debugging Information");
|
||||
verbose("Yadda Yadda Yadda");
|
||||
warning("Slight miscalculation!");
|
||||
error("Oops, something went wrong.");
|
||||
fatal("Unrecoverable Error!!!");
|
||||
jlog::info("This is barely useful information.");
|
||||
jlog::debug("Debugging Information");
|
||||
jlog::verbose("Yadda Yadda Yadda");
|
||||
jlog::warning("Slight miscalculation!");
|
||||
jlog::error("Oops, something went wrong.");
|
||||
jlog::fatal("Unrecoverable Error!!!");
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -58,8 +56,6 @@ int main() {
|
||||
|
||||
## TODO
|
||||
|
||||
* Custom Contexts: Allow users to specify custom logging contexts for better organization.
|
||||
* Disable & sort by context (other categories?)
|
||||
* Documentation
|
||||
* Thread Safety
|
||||
* Memory Safety
|
||||
|
Reference in New Issue
Block a user