All notable changes to this project will be documented in this file. The format is based on Keep a Changelog.
TODO
- Building the docs for this library should now work with
nightly
Rust versions (used by docs.rs)
- Upgrade all used dependencies to their latest versions
- Add the
build_with_validation()
method to validate the passed parameters before trying to create a newFenrir
instance - Add a
reqwest-async
backend for doing the actual networking requests (thanks to zero)
- Fix a typo in the README
- Updated the documentation of all traits, structs and enums in the crate
include_framework
is now deprecated since the same functionality can be achieved by using thetag
method- If compiled in debug mode, the logger will panic if the logs could not be sent to Loki
- Add an option to the builder to enable settings the
logging_framework
tag for all messages - Add an option to the builder to enable settings the
level
tag for all messages - Add an option for adding custom tags to all messages (e.g. for adding the application or service name)
- Fix a linting warning in case the
structured_logging
feature was not selected
- The default behavior for adding the
logging_framework
and thelevel
tag was removed
- Add a new example for the use of the library without frameworks like
fern
- Add the
NoopBackend
for dropping all messages and not sending them to any Loki instance - Add a feature for selecting the
ureq
network backend - Add a feature for selecting the
json
as a serialization method - Add a feature for selecting the using structured logging (currently unstable)
- Refactor the code to be able to deal with different network backends for sending information to a Loki instance
- Refactor the code to be able to switch the serialization type for the send messages
- Increase the minimum supported Rust version to 1.60.0
- The docker example environment now also includes a nginx reverse proxy for authentication purposes
- Add support for sending logs to Loki using a reverse proxy for authentication via Basic Auth
- Rename the
logging_level
tolevel
to comply with the standard for Grafana - Change the way the builder for the
Fenrir
is obtained to make it easier to use - Reduce the minimum supported Rust version to 1.57.0
- Add the content of the README.md file to the documentation on docs.rs
- Add a container setup for easier local testing (using
docker compose
) - Add a
logging_level
tag to each logged entry send to Loki
- Correctly added the license tag; it shows up now up correctly on crates.io
- Initial support for basic logging in Loki using the JSON interface