diff --git a/README.md b/README.md index 318bd12..5d39641 100644 --- a/README.md +++ b/README.md @@ -35,17 +35,15 @@ Using jlog is straightforward: ```cpp -#include +#include 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 diff --git a/img.png b/img.png index a52fc37..bd1b2e5 100644 Binary files a/img.png and b/img.png differ diff --git a/main.cpp b/main.cpp index 1be9ec8..07d7c52 100644 --- a/main.cpp +++ b/main.cpp @@ -15,7 +15,7 @@ int main() jlog::Logger demo{"demo", Colors::Pinks::DeepPink}; demo.SetTraceback(false); demo(std::format("{}\n>\t{}\n>\t{}", - "Custom loggers such as this on can be easily created", + "Custom loggers such as this one can be easily created", "jlog::Logger demo{\"demo\", Colors::Pinks::DeepPink};", "demo.SetTraceback(false);")); // "Custom loggers such as this one can be easily created."));