dependabot[bot] opened a new pull request, #6137: URL: https://github.com/apache/opendal/pull/6137
Bumps [logforth](https://github.com/fast/logforth) from 0.23.1 to 0.24.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/fast/logforth/blob/main/CHANGELOG.md">logforth's changelog</a>.</em></p> <blockquote> <h2>[0.24.0] 2025-04-09</h2> <h3>Breaking changes</h3> <ul> <li><code>Diagnostic</code> is now a trait. <code>Visitor</code>'s method signature is simplified.</li> <li><code>Append::flush</code> is now fallible.</li> <li><code>Diagnostic</code>'s and <code>Visitor</code>'s <code>visit</code> methods are fallible.</li> <li><code>NonBlocking</code> related types and the feature flag are now private.</li> <li><code>logforth::Builder</code> is renamed to <code>logforth::LoggerBuilder</code>.</li> <li><code>LoggerBuilder</code> has no longer an option to configure the global <code>max_level</code>. Check its documentation for more details.</li> <li>Constructing <code>RollingFile</code> and <code>Syslog</code> appender is heavily simplified.</li> </ul> <p>Before:</p> <pre lang="rust"><code>fn construct_rolling_file() { let rolling_writer = RollingFileWriter::builder() .rotation(Rotation::Daily) .filename_prefix("app_log") .build("logs") .unwrap(); <pre><code>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(); </code></pre> <p>}</p> <p>fn construct_syslog() { let syslog_writer = SyslogWriter::tcp_well_known().unwrap(); let (non_blocking, _guard) = syslog::non_blocking(syslog_writer).finish();</p> <pre><code>logforth::builder() .dispatch(|d| { d.filter(log::LevelFilter::Trace) .append(Syslog::new(non_blocking)) }) .apply(); </code></pre> <p>} </code></pre></p> <p>After:</p> <pre lang="rust"><code>fn construct_rolling_file() { let (rolling_writer, _guard) = RollingFileBuilder::new("logs") </tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/fast/logforth/commit/5ab763b88d3e20616a0da910a8d3f6574fd7f93c"><code>5ab763b</code></a> chore: Release logforth version 0.24.0</li> <li><a href="https://github.com/fast/logforth/commit/9baf7fb580a8411c71f5386ca9105a32062a7e40"><code>9baf7fb</code></a> chore: stage changelog</li> <li><a href="https://github.com/fast/logforth/commit/6fada4c2f190954d60c5fcf571ab0d192159f02c"><code>6fada4c</code></a> refactor!: logger builder (<a href="https://redirect.github.com/fast/logforth/issues/124">#124</a>)</li> <li><a href="https://github.com/fast/logforth/commit/42ce584b5d5590648e46acabad631bcaa8e87223"><code>42ce584</code></a> refactor!: NonBlocking becomes an internal concept (<a href="https://redirect.github.com/fast/logforth/issues/123">#123</a>)</li> <li><a href="https://github.com/fast/logforth/commit/c21adb280bc8d7bec57f730b3b32ad10faacaf82"><code>c21adb2</code></a> feat: Support Google structured logging format (<a href="https://redirect.github.com/fast/logforth/issues/118">#118</a>)</li> <li><a href="https://github.com/fast/logforth/commit/3bc2be6d8f05212dc51a9483ecd5195c5473b930"><code>3bc2be6</code></a> refactor!: diagnostic visit is now fallible (<a href="https://redirect.github.com/fast/logforth/issues/121">#121</a>)</li> <li><a href="https://github.com/fast/logforth/commit/78da7c25dbe521a026c5bc3426ee07f2c27e89b3"><code>78da7c2</code></a> revert: blocking rolling file and syslog appender (<a href="https://redirect.github.com/fast/logforth/issues/120">#120</a>)</li> <li><a href="https://github.com/fast/logforth/commit/ab10f7604b599e23c8bdfedf39f19ee098d9ce1f"><code>ab10f76</code></a> feat: support logfmt layout (<a href="https://redirect.github.com/fast/logforth/issues/114">#114</a>)</li> <li><a href="https://github.com/fast/logforth/commit/c4df94daac1d80841af9a4e88f558f34b94a1754"><code>c4df94d</code></a> refactor!: Append::flush is now fallible (<a href="https://redirect.github.com/fast/logforth/issues/117">#117</a>)</li> <li><a href="https://github.com/fast/logforth/commit/1e458757651f78f758acdc74e32ae905617e590e"><code>1e45875</code></a> refactor!: Diagnostic as a trait (<a href="https://redirect.github.com/fast/logforth/issues/115">#115</a>)</li> <li>Additional commits viewable in <a href="https://github.com/fast/logforth/compare/v0.23.1...v0.24.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@opendal.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org