Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLog v2 - Complete re-write #5

Merged
merged 24 commits into from
Apr 10, 2024
Merged

DLog v2 - Complete re-write #5

merged 24 commits into from
Apr 10, 2024

Conversation

deavmi
Copy link
Owner

@deavmi deavmi commented Apr 9, 2024

It's a complete rewrite 🎊 !

deavmi added 19 commits April 9, 2024 08:24
- Setting out new API
- Setting out use cases
- Added methods for manipulating transforms
- Implemented `log(Message message)` which does filtering, transformation and lastly handling
- You can now add and remove filters and handlers
- Now supports a `Level` setting

Level

- Added new enum type

LevelFilter

- Added implementation for level filtering
- Now stores current level in a filter of its own
- The `LevelFilter` is attached to the `BasicLogger` on construction

LevelFilter

- Now use a `Level*` rather
- Added new logger
- Added `getLevel()`
- Added `setText(string)`
- Removed old code
- Added `setLevel(Level)`

FileHandler

- Only use `write(File, string)`, not `writeln(File, string)`
- A lot of clean up
- Cleaned up
- Cleaned up
- Added more docs
- Last few docs added
- Now is a kind-of `BasicLogger` (gives us log-level support

Defaults (unittests)

- Updated
- Fixed up
@deavmi deavmi added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 9, 2024
@deavmi deavmi self-assigned this Apr 9, 2024
- Added some missing docs
- More docs
- Now returns a `true` verdict if the incoming `Message` is NOT a kind-of `BasicMessage`
- Removed
- Documented
@deavmi deavmi merged commit 55de4b7 into master Apr 10, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant