Release notes
*Sourced from env_logger's [releases](https://github.com/sebasmagri/env_logger/releases).*
> ## 0.5.7
> # Contributions
>
> - [**KodrAus**](https://github.com/KodrAus) [Add from_env methods to Logger directly](https://github-redirect.dependabot.com/sebasmagri/env_logger/pull/78)
> - [**lnicola**](https://github.com/lnicola) [Add note about dashes](https://github-redirect.dependabot.com/sebasmagri/env_logger/pull/77)
>
> ## 0.5.6
> # Key Changes
>
> - Wrap the `termcolor::Color` API so it's no longer a public dependency
>
> # Contributions
>
> - [**KodrAus**](https://github.com/KodrAus) [Wrap termcolor's color api](https://github-redirect.dependabot.com/sebasmagri/env_logger/pull/75)
>
> # More Details
>
> This patch fixes an issue that slipped through `0.5.0` where the `termcolor::Color` type was re-exported instead of redefined.
>
> **This is a potentially breaking change**
>
> Instead of re-exporting `termcolor::Color`, we now redefine the same API in `env_logger`. The potential breakage is if anyone was relying on the fact that `env_logger::Color` and `termcolor::Color` were equivalent types. This was only obvious from the source, and a survey of public code using `env_logger` and call for comment hasn't revealed any code relying on this.
>
> ## 0.5.5
> # Key Changes
>
> - Allow toggling parts of the default format without having to write one from scratch
>
> # Contributions
>
> - [**KodrAus**](https://github.com/KodrAus) [Allow toggling parts of the default format](https://github-redirect.dependabot.com/sebasmagri/env_logger/pull/66)
>
> # More Details
>
> ## `Builder::default_format_*`
>
> The default format can be easily tweaked by conditionally enabling/disabling parts of it in the main `Builder`. The API looks like:
>
> ```rust
> impl Builder {
> fn default_format(&mut self) -> &mut Self;
> fn default_format_timestamp(&mut self, write: bool) -> &mut Self;
> fn default_format_module_path(&mut self, write: bool) -> &mut Self;
> fn default_format_level(&mut self, write: bool) -> &mut Self;
> }
> ```
>
> Calling `default_format_*` will store whether or not we want to include those parts of the log, without affecting a custom format. That means:
>
> ```rust
> ... (truncated)
Commits
- See full diff in [compare view](https://github.com/sebasmagri/env_logger/commits/v0.5.7)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot ignore this [minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use [this|these] label[s]` will set the current labels as the default for future PRs for this repo and language
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps env_logger from 0.4.2 to 0.5.7.
Release notes
*Sourced from env_logger's [releases](https://github.com/sebasmagri/env_logger/releases).* > ## 0.5.7 > # Contributions > > - [**KodrAus**](https://github.com/KodrAus) [Add from_env methods to Logger directly](https://github-redirect.dependabot.com/sebasmagri/env_logger/pull/78) > - [**lnicola**](https://github.com/lnicola) [Add note about dashes](https://github-redirect.dependabot.com/sebasmagri/env_logger/pull/77) > > ## 0.5.6 > # Key Changes > > - Wrap the `termcolor::Color` API so it's no longer a public dependency > > # Contributions > > - [**KodrAus**](https://github.com/KodrAus) [Wrap termcolor's color api](https://github-redirect.dependabot.com/sebasmagri/env_logger/pull/75) > > # More Details > > This patch fixes an issue that slipped through `0.5.0` where the `termcolor::Color` type was re-exported instead of redefined. > > **This is a potentially breaking change** > > Instead of re-exporting `termcolor::Color`, we now redefine the same API in `env_logger`. The potential breakage is if anyone was relying on the fact that `env_logger::Color` and `termcolor::Color` were equivalent types. This was only obvious from the source, and a survey of public code using `env_logger` and call for comment hasn't revealed any code relying on this. > > ## 0.5.5 > # Key Changes > > - Allow toggling parts of the default format without having to write one from scratch > > # Contributions > > - [**KodrAus**](https://github.com/KodrAus) [Allow toggling parts of the default format](https://github-redirect.dependabot.com/sebasmagri/env_logger/pull/66) > > # More Details > > ## `Builder::default_format_*` > > The default format can be easily tweaked by conditionally enabling/disabling parts of it in the main `Builder`. The API looks like: > > ```rust > impl Builder { > fn default_format(&mut self) -> &mut Self; > fn default_format_timestamp(&mut self, write: bool) -> &mut Self; > fn default_format_module_path(&mut self, write: bool) -> &mut Self; > fn default_format_level(&mut self, write: bool) -> &mut Self; > } > ``` > > Calling `default_format_*` will store whether or not we want to include those parts of the log, without affecting a custom format. That means: > > ```rust > ... (truncated)Commits
- See full diff in [compare view](https://github.com/sebasmagri/env_logger/commits/v0.5.7)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot ignore this [minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use [this|these] label[s]` will set the current labels as the default for future PRs for this repo and language Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) Finally, you can contact us by mentioning @dependabot.