Skip to content

Comments

chore(deps): bump logforth from 0.23.1 to 0.24.0 in /bin/ofs#6137

Merged
Xuanwo merged 1 commit intomainfrom
dependabot/cargo/bin/ofs/logforth-0.24.0
May 9, 2025
Merged

chore(deps): bump logforth from 0.23.1 to 0.24.0 in /bin/ofs#6137
Xuanwo merged 1 commit intomainfrom
dependabot/cargo/bin/ofs/logforth-0.24.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 1, 2025

Bumps logforth from 0.23.1 to 0.24.0.

Changelog

Sourced from logforth's changelog.

[0.24.0] 2025-04-09

Breaking changes

  • Diagnostic is now a trait. Visitor's method signature is simplified.
  • Append::flush is now fallible.
  • Diagnostic's and Visitor's visit methods are fallible.
  • NonBlocking related types and the feature flag are now private.
  • logforth::Builder is renamed to logforth::LoggerBuilder.
  • LoggerBuilder has no longer an option to configure the global max_level. Check its documentation for more details.
  • Constructing RollingFile and Syslog appender is heavily simplified.

Before:

fn construct_rolling_file() {
    let rolling_writer = RollingFileWriter::builder()
        .rotation(Rotation::Daily)
        .filename_prefix("app_log")
        .build("logs")
        .unwrap();
let (non_blocking, _guard) = rolling_file::non_blocking(rolling_writer).finish();
logforth::builder()
.dispatch(|d| {
d.filter(log::LevelFilter::Trace)
.append(RollingFile::new(non_blocking).with_layout(JsonLayout::default()))
})
.apply();

}
fn construct_syslog() {
let syslog_writer = SyslogWriter::tcp_well_known().unwrap();
let (non_blocking, _guard) = syslog::non_blocking(syslog_writer).finish();
logforth::builder()
    .dispatch(|d| {
        d.filter(log::LevelFilter::Trace)
            .append(Syslog::new(non_blocking))
    })
    .apply();

}

After:

fn construct_rolling_file() {
    let (rolling_writer, _guard) = RollingFileBuilder::new("logs")
</tr></table> 

... (truncated)

Commits

Dependabot compatibility score

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 recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor 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)

Bumps [logforth](https://github.com/fast/logforth) from 0.23.1 to 0.24.0.
- [Changelog](https://github.com/fast/logforth/blob/main/CHANGELOG.md)
- [Commits](fast/logforth@v0.23.1...v0.24.0)

---
updated-dependencies:
- dependency-name: logforth
  dependency-version: 0.24.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels May 1, 2025
@dependabot dependabot bot requested a review from Xuanwo as a code owner May 1, 2025 00:46
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. releases-note/chore The PR has a title that begins with "chore" or changes other small things that hard to tell labels May 1, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label May 9, 2025
@Xuanwo Xuanwo merged commit 3f5dd39 into main May 9, 2025
15 checks passed
@Xuanwo Xuanwo deleted the dependabot/cargo/bin/ofs/logforth-0.24.0 branch May 9, 2025 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file lgtm This PR has been approved by a maintainer releases-note/chore The PR has a title that begins with "chore" or changes other small things that hard to tell rust Pull requests that update Rust code size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant