From 5ab768b357d1f43bdb2b646d15490dff742073c0 Mon Sep 17 00:00:00 2001 From: tison Date: Mon, 30 Nov 2026 20:48:26 +0800 Subject: [PATCH] chore: prepare for releasing 0.31.0 Prepare the workspace for the `logforth 0.31.0` release: - Bump `logforth` to `0.31.0` and `logforth-core` plus the fourteen peripheral `logforth-{append,layout,filter,diagnostic,bridge}-*` crates to `0.5.0` (keeping `logforth-logfmt` and `logforth-syslog` at `0.1.0` for their initial release). - Update pinned `docs.rs` permalinks across `README.md`, subcrate `README.md` files, and `bridges/log/src/lib.rs` to match the release versions. - Insert `## v0.31.0` and the crate version table below `## Unreleased` in `CHANGELOG.md`. Signed-off-by: tison --- CHANGELOG.md | 23 ++++++++ Cargo.lock | 32 +++++------ Cargo.toml | 32 +++++------ README.md | 70 ++++++++++++------------- appenders/async/Cargo.toml | 2 +- appenders/async/README.md | 6 +-- appenders/fastrace/Cargo.toml | 2 +- appenders/fastrace/README.md | 6 +-- appenders/file/Cargo.toml | 2 +- appenders/file/README.md | 8 +-- appenders/journald/Cargo.toml | 2 +- appenders/journald/README.md | 6 +-- appenders/opentelemetry/Cargo.toml | 2 +- appenders/opentelemetry/README.md | 6 +-- appenders/syslog/Cargo.toml | 2 +- appenders/syslog/README.md | 6 +-- bridges/log/Cargo.toml | 2 +- bridges/log/README.md | 8 +-- bridges/log/src/lib.rs | 4 +- core/Cargo.toml | 2 +- core/README.md | 4 +- diagnostics/fastrace/Cargo.toml | 2 +- diagnostics/fastrace/README.md | 6 +-- diagnostics/task-local/Cargo.toml | 2 +- diagnostics/task-local/README.md | 8 +-- filters/rustlog/Cargo.toml | 2 +- filters/rustlog/README.md | 6 +-- layouts/google-cloud-logging/Cargo.toml | 2 +- layouts/google-cloud-logging/README.md | 6 +-- layouts/json/Cargo.toml | 2 +- layouts/json/README.md | 6 +-- layouts/logfmt/Cargo.toml | 2 +- layouts/logfmt/README.md | 6 +-- layouts/text/Cargo.toml | 2 +- layouts/text/README.md | 6 +-- libs/logfmt/README.md | 2 +- libs/syslog/README.md | 2 +- logforth/Cargo.toml | 2 +- 38 files changed, 157 insertions(+), 134 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b6b860e..62bfd30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,29 @@ All significant changes to this project will be documented in this file. ## Unreleased +## v0.31.0 + +| Crate | Version | +| :------------------------------------- | :------- | +| `logforth` | `0.31.0` | +| `logforth-core` | `0.5.0` | +| `logforth-logfmt` | `0.1.0` | +| `logforth-syslog` | `0.1.0` | +| `logforth-append-async` | `0.5.0` | +| `logforth-append-fastrace` | `0.5.0` | +| `logforth-append-file` | `0.5.0` | +| `logforth-append-journald` | `0.5.0` | +| `logforth-append-opentelemetry` | `0.5.0` | +| `logforth-append-syslog` | `0.5.0` | +| `logforth-bridge-log` | `0.5.0` | +| `logforth-diagnostic-fastrace` | `0.5.0` | +| `logforth-diagnostic-task-local` | `0.5.0` | +| `logforth-filter-rustlog` | `0.5.0` | +| `logforth-layout-google-cloud-logging` | `0.5.0` | +| `logforth-layout-json` | `0.5.0` | +| `logforth-layout-logfmt` | `0.5.0` | +| `logforth-layout-text` | `0.5.0` | + ### Breaking changes * Raise the minimum supported Rust version (MSRV) from 1.89.0 to 1.91.0. diff --git a/Cargo.lock b/Cargo.lock index 9a8a6c8..a74fe86 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -726,7 +726,7 @@ dependencies = [ [[package]] name = "logforth" -version = "0.30.1" +version = "0.31.0" dependencies = [ "log", "logforth-append-async", @@ -748,14 +748,14 @@ dependencies = [ [[package]] name = "logforth-append-async" -version = "0.4.0" +version = "0.5.0" dependencies = [ "logforth-core", ] [[package]] name = "logforth-append-fastrace" -version = "0.4.0" +version = "0.5.0" dependencies = [ "fastrace", "logforth-core", @@ -763,7 +763,7 @@ dependencies = [ [[package]] name = "logforth-append-file" -version = "0.4.0" +version = "0.5.0" dependencies = [ "jiff", "logforth-core", @@ -773,7 +773,7 @@ dependencies = [ [[package]] name = "logforth-append-journald" -version = "0.4.0" +version = "0.5.0" dependencies = [ "libc", "logforth-core", @@ -781,7 +781,7 @@ dependencies = [ [[package]] name = "logforth-append-opentelemetry" -version = "0.4.0" +version = "0.5.0" dependencies = [ "logforth-core", "logforth-layout-json", @@ -792,7 +792,7 @@ dependencies = [ [[package]] name = "logforth-append-syslog" -version = "0.4.0" +version = "0.5.0" dependencies = [ "jiff", "logforth-core", @@ -801,7 +801,7 @@ dependencies = [ [[package]] name = "logforth-bridge-log" -version = "0.4.1" +version = "0.5.0" dependencies = [ "log", "logforth-core", @@ -809,14 +809,14 @@ dependencies = [ [[package]] name = "logforth-core" -version = "0.4.0" +version = "0.5.0" dependencies = [ "serde", ] [[package]] name = "logforth-diagnostic-fastrace" -version = "0.4.0" +version = "0.5.0" dependencies = [ "fastrace", "logforth-core", @@ -824,21 +824,21 @@ dependencies = [ [[package]] name = "logforth-diagnostic-task-local" -version = "0.4.0" +version = "0.5.0" dependencies = [ "logforth-core", ] [[package]] name = "logforth-filter-rustlog" -version = "0.4.0" +version = "0.5.0" dependencies = [ "logforth-core", ] [[package]] name = "logforth-layout-google-cloud-logging" -version = "0.4.0" +version = "0.5.0" dependencies = [ "jiff", "logforth-core", @@ -848,7 +848,7 @@ dependencies = [ [[package]] name = "logforth-layout-json" -version = "0.4.0" +version = "0.5.0" dependencies = [ "jiff", "logforth-core", @@ -858,7 +858,7 @@ dependencies = [ [[package]] name = "logforth-layout-logfmt" -version = "0.4.0" +version = "0.5.0" dependencies = [ "jiff", "logforth-core", @@ -867,7 +867,7 @@ dependencies = [ [[package]] name = "logforth-layout-text" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anstyle", "jiff", diff --git a/Cargo.toml b/Cargo.toml index a0a5992..bd5c886 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,22 +38,22 @@ rust-version = "1.91.0" [workspace.dependencies] # Workspace dependencies -logforth = { version = "0.30.1", path = "logforth" } -logforth-append-async = { version = "0.4.0", path = "appenders/async" } -logforth-append-fastrace = { version = "0.4.0", path = "appenders/fastrace" } -logforth-append-file = { version = "0.4.0", path = "appenders/file" } -logforth-append-journald = { version = "0.4.0", path = "appenders/journald" } -logforth-append-opentelemetry = { version = "0.4.0", path = "appenders/opentelemetry" } -logforth-append-syslog = { version = "0.4.0", path = "appenders/syslog" } -logforth-bridge-log = { version = "0.4.1", path = "bridges/log" } -logforth-core = { version = "0.4.0", path = "core" } -logforth-diagnostic-fastrace = { version = "0.4.0", path = "diagnostics/fastrace" } -logforth-diagnostic-task-local = { version = "0.4.0", path = "diagnostics/task-local" } -logforth-filter-rustlog = { version = "0.4.0", path = "filters/rustlog" } -logforth-layout-google-cloud-logging = { version = "0.4.0", path = "layouts/google-cloud-logging" } -logforth-layout-json = { version = "0.4.0", path = "layouts/json" } -logforth-layout-logfmt = { version = "0.4.0", path = "layouts/logfmt" } -logforth-layout-text = { version = "0.4.0", path = "layouts/text" } +logforth = { version = "0.31.0", path = "logforth" } +logforth-append-async = { version = "0.5.0", path = "appenders/async" } +logforth-append-fastrace = { version = "0.5.0", path = "appenders/fastrace" } +logforth-append-file = { version = "0.5.0", path = "appenders/file" } +logforth-append-journald = { version = "0.5.0", path = "appenders/journald" } +logforth-append-opentelemetry = { version = "0.5.0", path = "appenders/opentelemetry" } +logforth-append-syslog = { version = "0.5.0", path = "appenders/syslog" } +logforth-bridge-log = { version = "0.5.0", path = "bridges/log" } +logforth-core = { version = "0.5.0", path = "core" } +logforth-diagnostic-fastrace = { version = "0.5.0", path = "diagnostics/fastrace" } +logforth-diagnostic-task-local = { version = "0.5.0", path = "diagnostics/task-local" } +logforth-filter-rustlog = { version = "0.5.0", path = "filters/rustlog" } +logforth-layout-google-cloud-logging = { version = "0.5.0", path = "layouts/google-cloud-logging" } +logforth-layout-json = { version = "0.5.0", path = "layouts/json" } +logforth-layout-logfmt = { version = "0.5.0", path = "layouts/logfmt" } +logforth-layout-text = { version = "0.5.0", path = "layouts/text" } logforth-logfmt = { version = "0.1.0", path = "libs/logfmt" } logforth-syslog = { version = "0.1.0", path = "libs/syslog" } diff --git a/README.md b/README.md index e4f41e2..8dff670 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ [crates-url]: https://crates.io/crates/logforth [docs-badge]: https://docs.rs/logforth/badge.svg [msrv-badge]: https://img.shields.io/badge/MSRV-1.91-green?logo=rust -[docs-url]: https://docs.rs/logforth/0.30.1/logforth/ +[docs-url]: https://docs.rs/logforth/0.31.0/logforth/ [license-badge]: https://img.shields.io/crates/l/logforth [license-url]: LICENSE [actions-badge]: https://github.com/fast/logforth/workflows/CI/badge.svg @@ -171,34 +171,34 @@ Runnable end-to-end scenarios live in the [`examples`](examples) workspace crate | Bridges | [`starter_log`] | `starter-log` | Quick-start presets for installing Logforth as the global [`log`] backend. | | | [`LogBridge`] | `bridge-log`, `bridge-log-serde` | Forward [`log`] records and `log::kv` fields into a `Logger`. | -[`Logger`]: https://docs.rs/logforth/0.30.1/logforth/struct.Logger.html -[`Record`]: https://docs.rs/logforth/0.30.1/logforth/record/struct.Record.html -[`kv`]: https://docs.rs/logforth/0.30.1/logforth/kv/index.html -[`info!`]: https://docs.rs/logforth/0.30.1/logforth/macro.info.html -[`ValueOwned::from_serde`]: https://docs.rs/logforth/0.30.1/logforth/kv/struct.ValueOwned.html#method.from_serde -[`Stdout`]: https://docs.rs/logforth/0.30.1/logforth/append/struct.Stdout.html -[`Stderr`]: https://docs.rs/logforth/0.30.1/logforth/append/struct.Stderr.html -[`Testing`]: https://docs.rs/logforth/0.30.1/logforth/append/struct.Testing.html -[`File`]: https://docs.rs/logforth/0.30.1/logforth/append/struct.File.html -[`Async`]: https://docs.rs/logforth/0.30.1/logforth/append/struct.Async.html -[`Journald`]: https://docs.rs/logforth/0.30.1/logforth/append/struct.Journald.html -[`SocketSyslog`]: https://docs.rs/logforth/0.30.1/logforth/append/struct.SocketSyslog.html -[`PosixSyslog`]: https://docs.rs/logforth/0.30.1/logforth/append/struct.PosixSyslog.html -[`OpentelemetryLog`]: https://docs.rs/logforth/0.30.1/logforth/append/struct.OpentelemetryLog.html -[`FastraceEvent`]: https://docs.rs/logforth/0.30.1/logforth/append/struct.FastraceEvent.html -[`PlainTextLayout`]: https://docs.rs/logforth/0.30.1/logforth/layout/struct.PlainTextLayout.html -[`TextLayout`]: https://docs.rs/logforth/0.30.1/logforth/layout/struct.TextLayout.html -[`LogfmtLayout`]: https://docs.rs/logforth/0.30.1/logforth/layout/struct.LogfmtLayout.html -[`JsonLayout`]: https://docs.rs/logforth/0.30.1/logforth/layout/struct.JsonLayout.html -[`GoogleCloudLoggingLayout`]: https://docs.rs/logforth/0.30.1/logforth/layout/struct.GoogleCloudLoggingLayout.html -[`LevelFilter`]: https://docs.rs/logforth/0.30.1/logforth/record/enum.LevelFilter.html -[`RustLogFilter`]: https://docs.rs/logforth/0.30.1/logforth/filter/struct.RustLogFilter.html -[`StaticDiagnostic`]: https://docs.rs/logforth/0.30.1/logforth/diagnostic/struct.StaticDiagnostic.html -[`ThreadLocalDiagnostic`]: https://docs.rs/logforth/0.30.1/logforth/diagnostic/struct.ThreadLocalDiagnostic.html -[`TaskLocalDiagnostic`]: https://docs.rs/logforth/0.30.1/logforth/diagnostic/struct.TaskLocalDiagnostic.html -[`FastraceDiagnostic`]: https://docs.rs/logforth/0.30.1/logforth/diagnostic/struct.FastraceDiagnostic.html -[`starter_log`]: https://docs.rs/logforth/0.30.1/logforth/starter_log/index.html -[`LogBridge`]: https://docs.rs/logforth-bridge-log/0.4.1/logforth_bridge_log/struct.LogBridge.html +[`Logger`]: https://docs.rs/logforth/0.31.0/logforth/struct.Logger.html +[`Record`]: https://docs.rs/logforth/0.31.0/logforth/record/struct.Record.html +[`kv`]: https://docs.rs/logforth/0.31.0/logforth/kv/index.html +[`info!`]: https://docs.rs/logforth/0.31.0/logforth/macro.info.html +[`ValueOwned::from_serde`]: https://docs.rs/logforth/0.31.0/logforth/kv/struct.ValueOwned.html#method.from_serde +[`Stdout`]: https://docs.rs/logforth/0.31.0/logforth/append/struct.Stdout.html +[`Stderr`]: https://docs.rs/logforth/0.31.0/logforth/append/struct.Stderr.html +[`Testing`]: https://docs.rs/logforth/0.31.0/logforth/append/struct.Testing.html +[`File`]: https://docs.rs/logforth/0.31.0/logforth/append/struct.File.html +[`Async`]: https://docs.rs/logforth/0.31.0/logforth/append/struct.Async.html +[`Journald`]: https://docs.rs/logforth/0.31.0/logforth/append/struct.Journald.html +[`SocketSyslog`]: https://docs.rs/logforth/0.31.0/logforth/append/struct.SocketSyslog.html +[`PosixSyslog`]: https://docs.rs/logforth/0.31.0/logforth/append/struct.PosixSyslog.html +[`OpentelemetryLog`]: https://docs.rs/logforth/0.31.0/logforth/append/struct.OpentelemetryLog.html +[`FastraceEvent`]: https://docs.rs/logforth/0.31.0/logforth/append/struct.FastraceEvent.html +[`PlainTextLayout`]: https://docs.rs/logforth/0.31.0/logforth/layout/struct.PlainTextLayout.html +[`TextLayout`]: https://docs.rs/logforth/0.31.0/logforth/layout/struct.TextLayout.html +[`LogfmtLayout`]: https://docs.rs/logforth/0.31.0/logforth/layout/struct.LogfmtLayout.html +[`JsonLayout`]: https://docs.rs/logforth/0.31.0/logforth/layout/struct.JsonLayout.html +[`GoogleCloudLoggingLayout`]: https://docs.rs/logforth/0.31.0/logforth/layout/struct.GoogleCloudLoggingLayout.html +[`LevelFilter`]: https://docs.rs/logforth/0.31.0/logforth/record/enum.LevelFilter.html +[`RustLogFilter`]: https://docs.rs/logforth/0.31.0/logforth/filter/struct.RustLogFilter.html +[`StaticDiagnostic`]: https://docs.rs/logforth/0.31.0/logforth/diagnostic/struct.StaticDiagnostic.html +[`ThreadLocalDiagnostic`]: https://docs.rs/logforth/0.31.0/logforth/diagnostic/struct.ThreadLocalDiagnostic.html +[`TaskLocalDiagnostic`]: https://docs.rs/logforth/0.31.0/logforth/diagnostic/struct.TaskLocalDiagnostic.html +[`FastraceDiagnostic`]: https://docs.rs/logforth/0.31.0/logforth/diagnostic/struct.FastraceDiagnostic.html +[`starter_log`]: https://docs.rs/logforth/0.31.0/logforth/starter_log/index.html +[`LogBridge`]: https://docs.rs/logforth-bridge-log/0.5.0/logforth_bridge_log/struct.LogBridge.html [`fastrace`]: https://docs.rs/fastrace/0.7.19/fastrace/ [`logfmt`]: https://brandur.org/logfmt [`log`]: https://docs.rs/log/0.4.31/log/ @@ -212,12 +212,12 @@ Runnable end-to-end scenarios live in the [`examples`](examples) workspace crate * Every component is also published as an individual `logforth-*` crate over [`logforth-core`], alongside standalone [`logforth-logfmt`] and [`logforth-syslog`] libraries. * Browse the API reference on [docs.rs/logforth][docs-url], architectural guidelines in [DESIGN.md](DESIGN.md), and release notes in [CHANGELOG.md](CHANGELOG.md). -[`Append`]: https://docs.rs/logforth-core/0.4.0/logforth_core/append/trait.Append.html -[`Layout`]: https://docs.rs/logforth-core/0.4.0/logforth_core/layout/trait.Layout.html -[`Filter`]: https://docs.rs/logforth-core/0.4.0/logforth_core/filter/trait.Filter.html -[`Diagnostic`]: https://docs.rs/logforth-core/0.4.0/logforth_core/diagnostic/trait.Diagnostic.html -[`ErrorSink`]: https://docs.rs/logforth-core/0.4.0/logforth_core/error/trait.ErrorSink.html -[`logforth-core`]: https://docs.rs/logforth-core/0.4.0/logforth_core/ +[`Append`]: https://docs.rs/logforth-core/0.5.0/logforth_core/append/trait.Append.html +[`Layout`]: https://docs.rs/logforth-core/0.5.0/logforth_core/layout/trait.Layout.html +[`Filter`]: https://docs.rs/logforth-core/0.5.0/logforth_core/filter/trait.Filter.html +[`Diagnostic`]: https://docs.rs/logforth-core/0.5.0/logforth_core/diagnostic/trait.Diagnostic.html +[`ErrorSink`]: https://docs.rs/logforth-core/0.5.0/logforth_core/error/trait.ErrorSink.html +[`logforth-core`]: https://docs.rs/logforth-core/0.5.0/logforth_core/ [`logforth-logfmt`]: https://docs.rs/logforth-logfmt/0.1.0/logforth_logfmt/ [`logforth-syslog`]: https://docs.rs/logforth-syslog/0.1.0/logforth_syslog/ diff --git a/appenders/async/Cargo.toml b/appenders/async/Cargo.toml index b6ac4c6..d1e608a 100644 --- a/appenders/async/Cargo.toml +++ b/appenders/async/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "logforth-append-async" -version = "0.4.0" +version = "0.5.0" description = "Asynchronous appender for Logforth." documentation = "https://docs.rs/logforth-append-async" diff --git a/appenders/async/README.md b/appenders/async/README.md index ffd726d..b755aaf 100644 --- a/appenders/async/README.md +++ b/appenders/async/README.md @@ -1,6 +1,6 @@ # Logforth Async Appender -`logforth-append-async` provides [`Async`](https://docs.rs/logforth-append-async/0.4.0/logforth_append_async/struct.Async.html) and [`AsyncBuilder`](https://docs.rs/logforth-append-async/0.4.0/logforth_append_async/struct.AsyncBuilder.html), a composable background-thread `logforth_core::Append` decorator that decouples caller threads from downstream I/O. +`logforth-append-async` provides [`Async`](https://docs.rs/logforth-append-async/0.5.0/logforth_append_async/struct.Async.html) and [`AsyncBuilder`](https://docs.rs/logforth-append-async/0.5.0/logforth_append_async/struct.AsyncBuilder.html), a composable background-thread `logforth_core::Append` decorator that decouples caller threads from downstream I/O. Most applications can enable this crate through the [`logforth`](https://crates.io/crates/logforth) facade crate with the `append-async` feature (exposed as `logforth::append::Async` and `logforth::append::asynchronous::AsyncBuilder`). Depend on `logforth-append-async` directly when composing split `logforth-*` crates onto `logforth-core`. @@ -53,8 +53,8 @@ The single-worker queue design is adapted from [`spdlog-rs`'s `AsyncPoolSink`](h ## Documentation -- [Rust API documentation](https://docs.rs/logforth-append-async/0.4.0/logforth_append_async/) -- [Logforth facade crate](https://docs.rs/logforth/0.30.1/logforth/) +- [Rust API documentation](https://docs.rs/logforth-append-async/0.5.0/logforth_append_async/) +- [Logforth facade crate](https://docs.rs/logforth/0.31.0/logforth/) ## License diff --git a/appenders/fastrace/Cargo.toml b/appenders/fastrace/Cargo.toml index 0b37cb5..6285a20 100644 --- a/appenders/fastrace/Cargo.toml +++ b/appenders/fastrace/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "logforth-append-fastrace" -version = "0.4.0" +version = "0.5.0" description = "Fastrace appender for Logforth." documentation = "https://docs.rs/logforth-append-fastrace" diff --git a/appenders/fastrace/README.md b/appenders/fastrace/README.md index aa240f1..f432a7b 100644 --- a/appenders/fastrace/README.md +++ b/appenders/fastrace/README.md @@ -1,6 +1,6 @@ # Logforth Fastrace Appender -`logforth-append-fastrace` provides [`FastraceEvent`](https://docs.rs/logforth-append-fastrace/0.4.0/logforth_append_fastrace/struct.FastraceEvent.html), implementing `logforth_core::Append` by attaching log records as timeline events on the active thread-local [`fastrace`](https://crates.io/crates/fastrace) span. +`logforth-append-fastrace` provides [`FastraceEvent`](https://docs.rs/logforth-append-fastrace/0.5.0/logforth_append_fastrace/struct.FastraceEvent.html), implementing `logforth_core::Append` by attaching log records as timeline events on the active thread-local [`fastrace`](https://crates.io/crates/fastrace) span. Most applications can enable this crate through the [`logforth`](https://crates.io/crates/logforth) facade crate with the `append-fastrace` feature (exposed as `logforth::append::FastraceEvent`). Depend on `logforth-append-fastrace` directly when composing split `logforth-*` crates onto `logforth-core`. @@ -56,8 +56,8 @@ Operational notes: ## Documentation -- [Rust API documentation](https://docs.rs/logforth-append-fastrace/0.4.0/logforth_append_fastrace/) -- [Logforth facade crate](https://docs.rs/logforth/0.30.1/logforth/) +- [Rust API documentation](https://docs.rs/logforth-append-fastrace/0.5.0/logforth_append_fastrace/) +- [Logforth facade crate](https://docs.rs/logforth/0.31.0/logforth/) ## License diff --git a/appenders/file/Cargo.toml b/appenders/file/Cargo.toml index 10065e3..12c3939 100644 --- a/appenders/file/Cargo.toml +++ b/appenders/file/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "logforth-append-file" -version = "0.4.0" +version = "0.5.0" description = "File appender for Logforth with optional rollover strategy." documentation = "https://docs.rs/logforth-append-file" diff --git a/appenders/file/README.md b/appenders/file/README.md index ae3ab34..9a25141 100644 --- a/appenders/file/README.md +++ b/appenders/file/README.md @@ -1,6 +1,6 @@ # Logforth File Appender -`logforth-append-file` provides [`File`](https://docs.rs/logforth-append-file/0.4.0/logforth_append_file/struct.File.html) and [`FileBuilder`](https://docs.rs/logforth-append-file/0.4.0/logforth_append_file/struct.FileBuilder.html), a `logforth_core::Append` implementation for writing log records to a single append-mode file or direct-write time- and size-rotated segment files. +`logforth-append-file` provides [`File`](https://docs.rs/logforth-append-file/0.5.0/logforth_append_file/struct.File.html) and [`FileBuilder`](https://docs.rs/logforth-append-file/0.5.0/logforth_append_file/struct.FileBuilder.html), a `logforth_core::Append` implementation for writing log records to a single append-mode file or direct-write time- and size-rotated segment files. Most applications can enable this crate through the [`logforth`](https://crates.io/crates/logforth) facade crate with the `append-file` feature (exposed as `logforth::append::File`, `logforth::append::file::FileBuilder`, and the re-exported `logforth::append::file::jiff`). Depend on `logforth-append-file` directly when composing split `logforth-*` crates onto `logforth-core`. @@ -120,15 +120,15 @@ In-process file rotation is convenient for standalone binaries, CLI tools, deskt - **Single-writer ownership per file pattern**: `File` tracks active segment byte counts in memory and enforces `max_log_files` without cross-process file locks (`flock`). Share a single `Logger` (or `Arc`) across threads within a process, and assign separate directories (or non-overlapping segment patterns) to distinct writer instances or processes; overlapping `File` writers will miscount segment sizes and can prune one another's active segment. - **No built-in compression or `SIGHUP` reopen**: `File` does not run gzip/zstd compression in-process. Once a rotation period has elapsed (assuming the system clock does not step backward into that period), external jobs can compress completed segments, though renaming `*.log` to `*.log.gz` excludes them from `max_log_files` tracking. In unrotated single-file mode, `File` keeps its open file descriptor indefinitely; if you rely on external `logrotate`, either use `copytruncate` or switch to `FileBuilder`'s built-in rotation. - **Containers, serverless, and managed hosts**: Writing rotating files inside Docker, Kubernetes, Cloud Run, or serverless sandboxes stores logs on ephemeral overlay disks where crashes or pod evictions discard unshipped segments and risk local disk pressure. Prefer platform-native Logforth appenders in those environments: - - **Container runtimes and cloud platforms (Docker, Kubernetes, Cloud Run, ECS)**: Write to [`Stdout`](https://docs.rs/logforth-core/0.4.0/logforth_core/append/struct.Stdout.html) or [`Stderr`](https://docs.rs/logforth-core/0.4.0/logforth_core/append/struct.Stderr.html) with [`logforth-layout-json`](https://crates.io/crates/logforth-layout-json) or [`logforth-layout-google-cloud-logging`](https://crates.io/crates/logforth-layout-google-cloud-logging) so the platform runtime handles log capture, rotation, and shipping. + - **Container runtimes and cloud platforms (Docker, Kubernetes, Cloud Run, ECS)**: Write to [`Stdout`](https://docs.rs/logforth-core/0.5.0/logforth_core/append/struct.Stdout.html) or [`Stderr`](https://docs.rs/logforth-core/0.5.0/logforth_core/append/struct.Stderr.html) with [`logforth-layout-json`](https://crates.io/crates/logforth-layout-json) or [`logforth-layout-google-cloud-logging`](https://crates.io/crates/logforth-layout-google-cloud-logging) so the platform runtime handles log capture, rotation, and shipping. - **Linux `systemd` services**: Use [`logforth-append-journald`](https://crates.io/crates/logforth-append-journald) (or `Stderr` under a unit) to preserve structured fields, severity levels, and journald retention policies. - **Syslog daemons (`rsyslog`, `syslog-ng`)**: Use [`logforth-append-syslog`](https://crates.io/crates/logforth-append-syslog) to forward RFC 3164 or RFC 5424 records over UDP, TCP, TLS, or Unix domain sockets. - **OpenTelemetry pipelines**: Use [`logforth-append-opentelemetry`](https://crates.io/crates/logforth-append-opentelemetry) to batch and export structured `LogRecord` telemetry over OTLP gRPC or HTTP. ## Documentation -- [Rust API documentation](https://docs.rs/logforth-append-file/0.4.0/logforth_append_file/) -- [Logforth facade crate](https://docs.rs/logforth/0.30.1/logforth/) +- [Rust API documentation](https://docs.rs/logforth-append-file/0.5.0/logforth_append_file/) +- [Logforth facade crate](https://docs.rs/logforth/0.31.0/logforth/) ## License diff --git a/appenders/journald/Cargo.toml b/appenders/journald/Cargo.toml index 97a5c1b..52045ac 100644 --- a/appenders/journald/Cargo.toml +++ b/appenders/journald/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "logforth-append-journald" -version = "0.4.0" +version = "0.5.0" description = "Journald appender for Logforth." documentation = "https://docs.rs/logforth-append-journald" diff --git a/appenders/journald/README.md b/appenders/journald/README.md index e7b4856..c946edb 100644 --- a/appenders/journald/README.md +++ b/appenders/journald/README.md @@ -1,6 +1,6 @@ # Logforth Journald Appender -`logforth-append-journald` provides [`Journald`](https://docs.rs/logforth-append-journald/0.4.0/logforth_append_journald/struct.Journald.html), a `logforth_core::Append` implementation for Unix systems that writes structured log entries directly to `systemd-journald` over its [native Unix datagram protocol](https://systemd.io/JOURNAL_NATIVE_PROTOCOL/) without linking `libsystemd`. +`logforth-append-journald` provides [`Journald`](https://docs.rs/logforth-append-journald/0.5.0/logforth_append_journald/struct.Journald.html), a `logforth_core::Append` implementation for Unix systems that writes structured log entries directly to `systemd-journald` over its [native Unix datagram protocol](https://systemd.io/JOURNAL_NATIVE_PROTOCOL/) without linking `libsystemd`. Most applications can enable this crate through the [`logforth`](https://crates.io/crates/logforth) facade crate with the `append-journald` feature (exposed on Unix targets as `logforth::append::Journald`). Depend on `logforth-append-journald` directly when composing split `logforth-*` crates onto `logforth-core`. @@ -79,8 +79,8 @@ Logforth's 24 `Level` variants map to syslog/journal priority numbers following ## Documentation -- [Rust API documentation](https://docs.rs/logforth-append-journald/0.4.0/logforth_append_journald/) -- [Logforth facade crate](https://docs.rs/logforth/0.30.1/logforth/) +- [Rust API documentation](https://docs.rs/logforth-append-journald/0.5.0/logforth_append_journald/) +- [Logforth facade crate](https://docs.rs/logforth/0.31.0/logforth/) ## License diff --git a/appenders/opentelemetry/Cargo.toml b/appenders/opentelemetry/Cargo.toml index 297ebe7..9db9644 100644 --- a/appenders/opentelemetry/Cargo.toml +++ b/appenders/opentelemetry/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "logforth-append-opentelemetry" -version = "0.4.0" +version = "0.5.0" description = "OpenTelemetry appender for Logforth." documentation = "https://docs.rs/logforth-append-opentelemetry" diff --git a/appenders/opentelemetry/README.md b/appenders/opentelemetry/README.md index dc52f45..1d5a9f9 100644 --- a/appenders/opentelemetry/README.md +++ b/appenders/opentelemetry/README.md @@ -1,6 +1,6 @@ # Logforth OpenTelemetry Appender -`logforth-append-opentelemetry` provides [`OpentelemetryLog`](https://docs.rs/logforth-append-opentelemetry/0.4.0/logforth_append_opentelemetry/struct.OpentelemetryLog.html) and [`OpentelemetryLogBuilder`](https://docs.rs/logforth-append-opentelemetry/0.4.0/logforth_append_opentelemetry/struct.OpentelemetryLogBuilder.html), a `logforth_core::Append` implementation that batches and exports structured [`opentelemetry`](https://crates.io/crates/opentelemetry) log records through any `opentelemetry_sdk::logs::LogExporter`. +`logforth-append-opentelemetry` provides [`OpentelemetryLog`](https://docs.rs/logforth-append-opentelemetry/0.5.0/logforth_append_opentelemetry/struct.OpentelemetryLog.html) and [`OpentelemetryLogBuilder`](https://docs.rs/logforth-append-opentelemetry/0.5.0/logforth_append_opentelemetry/struct.OpentelemetryLogBuilder.html), a `logforth_core::Append` implementation that batches and exports structured [`opentelemetry`](https://crates.io/crates/opentelemetry) log records through any `opentelemetry_sdk::logs::LogExporter`. Most applications can enable this crate through the [`logforth`](https://crates.io/crates/logforth) facade crate with the `append-opentelemetry` feature (exposed as `logforth::append::OpentelemetryLog` and `logforth::append::opentelemetry`). Depend on `logforth-append-opentelemetry` directly when composing split `logforth-*` crates onto `logforth-core`. @@ -75,8 +75,8 @@ Each `Record` is projected onto an `opentelemetry_sdk::logs::SdkLogRecord`: ## Documentation -- [Rust API documentation](https://docs.rs/logforth-append-opentelemetry/0.4.0/logforth_append_opentelemetry/) -- [Logforth facade crate](https://docs.rs/logforth/0.30.1/logforth/) +- [Rust API documentation](https://docs.rs/logforth-append-opentelemetry/0.5.0/logforth_append_opentelemetry/) +- [Logforth facade crate](https://docs.rs/logforth/0.31.0/logforth/) ## License diff --git a/appenders/syslog/Cargo.toml b/appenders/syslog/Cargo.toml index 5d287b8..3f440af 100644 --- a/appenders/syslog/Cargo.toml +++ b/appenders/syslog/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "logforth-append-syslog" -version = "0.4.0" +version = "0.5.0" description = "Syslog appender for Logforth." documentation = "https://docs.rs/logforth-append-syslog" diff --git a/appenders/syslog/README.md b/appenders/syslog/README.md index 5abe660..3db149d 100644 --- a/appenders/syslog/README.md +++ b/appenders/syslog/README.md @@ -1,6 +1,6 @@ # Logforth Syslog Appender -`logforth-append-syslog` provides two `logforth_core::Append` implementations backed by [`logforth-syslog`](https://crates.io/crates/logforth-syslog): [`SocketSyslog`](https://docs.rs/logforth-append-syslog/0.4.0/logforth_append_syslog/struct.SocketSyslog.html) for [RFC 3164](https://datatracker.ietf.org/doc/html/rfc3164) and [RFC 5424](https://datatracker.ietf.org/doc/html/rfc5424) messages over UDP, TCP, TCP+TLS ([RFC 5425](https://datatracker.ietf.org/doc/html/rfc5425)), and Unix domain sockets, and [`PosixSyslog`](https://docs.rs/logforth-append-syslog/0.4.0/logforth_append_syslog/struct.PosixSyslog.html) (`cfg(unix)`) for POSIX `` (`syslog(3)`) via `libc`. +`logforth-append-syslog` provides two `logforth_core::Append` implementations backed by [`logforth-syslog`](https://crates.io/crates/logforth-syslog): [`SocketSyslog`](https://docs.rs/logforth-append-syslog/0.5.0/logforth_append_syslog/struct.SocketSyslog.html) for [RFC 3164](https://datatracker.ietf.org/doc/html/rfc3164) and [RFC 5424](https://datatracker.ietf.org/doc/html/rfc5424) messages over UDP, TCP, TCP+TLS ([RFC 5425](https://datatracker.ietf.org/doc/html/rfc5425)), and Unix domain sockets, and [`PosixSyslog`](https://docs.rs/logforth-append-syslog/0.5.0/logforth_append_syslog/struct.PosixSyslog.html) (`cfg(unix)`) for POSIX `` (`syslog(3)`) via `libc`. Most applications can enable this crate through the [`logforth`](https://crates.io/crates/logforth) facade crate with the `append-syslog` feature (exposed as `logforth::append::SocketSyslog`, `logforth::append::PosixSyslog` on Unix, and `logforth::append::syslog`). Depend on `logforth-append-syslog` directly when composing split `logforth-*` crates onto `logforth-core`. @@ -138,9 +138,9 @@ Each `Level` maps to one of the 8 syslog severities following the OpenTelemetry ## Documentation -- [Rust API documentation](https://docs.rs/logforth-append-syslog/0.4.0/logforth_append_syslog/) +- [Rust API documentation](https://docs.rs/logforth-append-syslog/0.5.0/logforth_append_syslog/) - [`logforth-syslog`](https://docs.rs/logforth-syslog/0.1.0/logforth_syslog/) -- [Logforth facade crate](https://docs.rs/logforth/0.30.1/logforth/) +- [Logforth facade crate](https://docs.rs/logforth/0.31.0/logforth/) ## License diff --git a/bridges/log/Cargo.toml b/bridges/log/Cargo.toml index 478ad0d..9145af7 100644 --- a/bridges/log/Cargo.toml +++ b/bridges/log/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "logforth-bridge-log" -version = "0.4.1" +version = "0.5.0" description = "Bridge Logforth with the log crate." documentation = "https://docs.rs/logforth-bridge-log" diff --git a/bridges/log/README.md b/bridges/log/README.md index fec2d37..03f8995 100644 --- a/bridges/log/README.md +++ b/bridges/log/README.md @@ -1,8 +1,8 @@ # Logforth `log` Bridge -`logforth-bridge-log` provides [`LogBridge`](https://docs.rs/logforth-bridge-log/0.4.1/logforth_bridge_log/struct.LogBridge.html), the [`log::Log`](https://docs.rs/log/0.4.31/log/trait.Log.html) adapter underlying Logforth's [`log`](https://crates.io/crates/log) integration. +`logforth-bridge-log` provides [`LogBridge`](https://docs.rs/logforth-bridge-log/0.5.0/logforth_bridge_log/struct.LogBridge.html), the [`log::Log`](https://docs.rs/log/0.4.31/log/trait.Log.html) adapter underlying Logforth's [`log`](https://crates.io/crates/log) integration. -> **Recommended usage**: Most applications do not need to depend on `logforth-bridge-log` or construct `LogBridge` directly. Enable the `starter-log` feature on the [`logforth`](https://crates.io/crates/logforth) facade crate and use [`logforth::starter_log`](https://docs.rs/logforth/0.30.1/logforth/starter_log/index.html) instead: +> **Recommended usage**: Most applications do not need to depend on `logforth-bridge-log` or construct `LogBridge` directly. Enable the `starter-log` feature on the [`logforth`](https://crates.io/crates/logforth) facade crate and use [`logforth::starter_log`](https://docs.rs/logforth/0.31.0/logforth/starter_log/index.html) instead: > > ```shell > cargo add logforth --features starter-log @@ -64,8 +64,8 @@ Each `log::Level` maps 1-to-1 to the corresponding `logforth_core::record::Level ## Documentation -- [Rust API documentation](https://docs.rs/logforth-bridge-log/0.4.1/logforth_bridge_log/) -- [`logforth::starter_log` documentation](https://docs.rs/logforth/0.30.1/logforth/starter_log/index.html) +- [Rust API documentation](https://docs.rs/logforth-bridge-log/0.5.0/logforth_bridge_log/) +- [`logforth::starter_log` documentation](https://docs.rs/logforth/0.31.0/logforth/starter_log/index.html) ## License diff --git a/bridges/log/src/lib.rs b/bridges/log/src/lib.rs index 3790b3d..d90c982 100644 --- a/bridges/log/src/lib.rs +++ b/bridges/log/src/lib.rs @@ -19,7 +19,7 @@ //! into a Logforth pipeline. //! //! Most applications do **not** need to depend on `logforth-bridge-log` or construct [`LogBridge`] -//! directly. Prefer the [`logforth`](https://docs.rs/logforth/0.30.1/logforth/) facade crate with +//! directly. Prefer the [`logforth`](https://docs.rs/logforth/0.31.0/logforth/) facade crate with //! the `starter-log` //! feature. Its [`logforth::starter_log`] module provides `RUST_LOG`-driven presets (`stdout()`, //! `stderr()`, and `testing()`) and adds `.install()` and `.try_install()` directly to @@ -29,7 +29,7 @@ //! without the `logforth` facade, or when passing an explicit [`LogBridge`] to //! `log::info!(logger: bridge, ...)`. //! -//! [`logforth::starter_log`]: https://docs.rs/logforth/0.30.1/logforth/starter_log/index.html +//! [`logforth::starter_log`]: https://docs.rs/logforth/0.31.0/logforth/starter_log/index.html //! //! # Mapping semantics //! diff --git a/core/Cargo.toml b/core/Cargo.toml index b781d9f..add10f6 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "logforth-core" -version = "0.4.0" +version = "0.5.0" description = "Core traits, structured records, and pipeline primitives for Logforth." documentation = "https://docs.rs/logforth-core" diff --git a/core/README.md b/core/README.md index e0db12d..e372be7 100644 --- a/core/README.md +++ b/core/README.md @@ -73,8 +73,8 @@ fn build_json_logger() -> Result { ## Documentation -- [Rust API documentation](https://docs.rs/logforth-core/0.4.0/logforth_core/) -- [Logforth facade crate](https://docs.rs/logforth/0.30.1/logforth/) +- [Rust API documentation](https://docs.rs/logforth-core/0.5.0/logforth_core/) +- [Logforth facade crate](https://docs.rs/logforth/0.31.0/logforth/) ## License diff --git a/diagnostics/fastrace/Cargo.toml b/diagnostics/fastrace/Cargo.toml index ded1a00..4155e00 100644 --- a/diagnostics/fastrace/Cargo.toml +++ b/diagnostics/fastrace/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "logforth-diagnostic-fastrace" -version = "0.4.0" +version = "0.5.0" description = "Fastrace diagnostic for Logforth." documentation = "https://docs.rs/logforth-diagnostic-fastrace" diff --git a/diagnostics/fastrace/README.md b/diagnostics/fastrace/README.md index c921915..b5dcb81 100644 --- a/diagnostics/fastrace/README.md +++ b/diagnostics/fastrace/README.md @@ -1,6 +1,6 @@ # Logforth Fastrace Diagnostic -`logforth-diagnostic-fastrace` provides [`FastraceDiagnostic`](https://docs.rs/logforth-diagnostic-fastrace/0.4.0/logforth_diagnostic_fastrace/struct.FastraceDiagnostic.html), implementing `logforth_core::Diagnostic` by reading the active thread-local [`fastrace`](https://crates.io/crates/fastrace) span context. +`logforth-diagnostic-fastrace` provides [`FastraceDiagnostic`](https://docs.rs/logforth-diagnostic-fastrace/0.5.0/logforth_diagnostic_fastrace/struct.FastraceDiagnostic.html), implementing `logforth_core::Diagnostic` by reading the active thread-local [`fastrace`](https://crates.io/crates/fastrace) span context. Most applications can enable this crate through the [`logforth`](https://crates.io/crates/logforth) facade crate with the `diagnostic-fastrace` feature. Depend on `logforth-diagnostic-fastrace` directly when composing split `logforth-*` crates onto `logforth-core`. @@ -46,8 +46,8 @@ When no local parent span is active (or when `fastrace/enable` is disabled), zer ## Documentation -- [Rust API documentation](https://docs.rs/logforth-diagnostic-fastrace/0.4.0/logforth_diagnostic_fastrace/) -- [Logforth facade crate](https://docs.rs/logforth/0.30.1/logforth/) +- [Rust API documentation](https://docs.rs/logforth-diagnostic-fastrace/0.5.0/logforth_diagnostic_fastrace/) +- [Logforth facade crate](https://docs.rs/logforth/0.31.0/logforth/) ## License diff --git a/diagnostics/task-local/Cargo.toml b/diagnostics/task-local/Cargo.toml index b34edb6..6a36194 100644 --- a/diagnostics/task-local/Cargo.toml +++ b/diagnostics/task-local/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "logforth-diagnostic-task-local" -version = "0.4.0" +version = "0.5.0" description = "Task-local diagnostic for Logforth." documentation = "https://docs.rs/logforth-diagnostic-task-local" diff --git a/diagnostics/task-local/README.md b/diagnostics/task-local/README.md index 8727f21..74feee4 100644 --- a/diagnostics/task-local/README.md +++ b/diagnostics/task-local/README.md @@ -1,6 +1,6 @@ # Logforth Task-Local Diagnostic -`logforth-diagnostic-task-local` provides [`TaskLocalDiagnostic`](https://docs.rs/logforth-diagnostic-task-local/0.4.0/logforth_diagnostic_task_local/struct.TaskLocalDiagnostic.html), [`FutureExt`](https://docs.rs/logforth-diagnostic-task-local/0.4.0/logforth_diagnostic_task_local/trait.FutureExt.html), and [`TaskLocalFuture`](https://docs.rs/logforth-diagnostic-task-local/0.4.0/logforth_diagnostic_task_local/struct.TaskLocalFuture.html) for attaching runtime-agnostic task-local key-value context to `Future`s in Logforth pipelines. +`logforth-diagnostic-task-local` provides [`TaskLocalDiagnostic`](https://docs.rs/logforth-diagnostic-task-local/0.5.0/logforth_diagnostic_task_local/struct.TaskLocalDiagnostic.html), [`FutureExt`](https://docs.rs/logforth-diagnostic-task-local/0.5.0/logforth_diagnostic_task_local/trait.FutureExt.html), and [`TaskLocalFuture`](https://docs.rs/logforth-diagnostic-task-local/0.5.0/logforth_diagnostic_task_local/struct.TaskLocalFuture.html) for attaching runtime-agnostic task-local key-value context to `Future`s in Logforth pipelines. Most applications can enable this crate through the [`logforth`](https://crates.io/crates/logforth) facade crate with the `diagnostic-task-local` feature. Depend on `logforth-diagnostic-task-local` directly when composing split `logforth-*` crates onto `logforth-core`. @@ -36,14 +36,14 @@ async fn run() { ## Behavior and guarantees -- **Runtime-agnostic scoping**: `FutureExt::with_task_local_context` wraps any `core::future::Future` in a [`TaskLocalFuture`](https://docs.rs/logforth-diagnostic-task-local/0.4.0/logforth_diagnostic_task_local/struct.TaskLocalFuture.html) that pushes its entries while being polled and pops them whenever `poll` yields or finishes, isolating interleaved tasks across `tokio`, `smol`, `futures`, or custom executors. +- **Runtime-agnostic scoping**: `FutureExt::with_task_local_context` wraps any `core::future::Future` in a [`TaskLocalFuture`](https://docs.rs/logforth-diagnostic-task-local/0.5.0/logforth_diagnostic_task_local/struct.TaskLocalFuture.html) that pushes its entries while being polled and pops them whenever `poll` yields or finishes, isolating interleaved tasks across `tokio`, `smol`, `futures`, or custom executors. - **Typed values and shadowing**: Entries are stored as `(KeyOwned, ValueOwned)` without stringifying scalars. Nested `with_task_local_context` scopes shadow outer entries for the same key and restore them when the inner future finishes; duplicate keys within a single scope resolve with last-entry-wins precedence. - **Teardown safety**: Thread-local storage is accessed via `LocalKey::try_with`, so polling or logging during thread-local destruction degrades to an empty context instead of panicking. ## Documentation -- [Rust API documentation](https://docs.rs/logforth-diagnostic-task-local/0.4.0/logforth_diagnostic_task_local/) -- [Logforth facade crate](https://docs.rs/logforth/0.30.1/logforth/) +- [Rust API documentation](https://docs.rs/logforth-diagnostic-task-local/0.5.0/logforth_diagnostic_task_local/) +- [Logforth facade crate](https://docs.rs/logforth/0.31.0/logforth/) ## License diff --git a/filters/rustlog/Cargo.toml b/filters/rustlog/Cargo.toml index 0969228..6d20731 100644 --- a/filters/rustlog/Cargo.toml +++ b/filters/rustlog/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "logforth-filter-rustlog" -version = "0.4.0" +version = "0.5.0" description = "Filter matching the RUST_LOG directive syntax for Logforth." documentation = "https://docs.rs/logforth-filter-rustlog" diff --git a/filters/rustlog/README.md b/filters/rustlog/README.md index f04ec85..709e0d6 100644 --- a/filters/rustlog/README.md +++ b/filters/rustlog/README.md @@ -1,6 +1,6 @@ # Logforth `RUST_LOG` Filter -`logforth-filter-rustlog` provides [`RustLogFilter`](https://docs.rs/logforth-filter-rustlog/0.4.0/logforth_filter_rustlog/struct.RustLogFilter.html) and [`RustLogFilterBuilder`](https://docs.rs/logforth-filter-rustlog/0.4.0/logforth_filter_rustlog/struct.RustLogFilterBuilder.html), implementing `logforth_core::Filter` with `RUST_LOG`-style prefix and fallback directives. +`logforth-filter-rustlog` provides [`RustLogFilter`](https://docs.rs/logforth-filter-rustlog/0.5.0/logforth_filter_rustlog/struct.RustLogFilter.html) and [`RustLogFilterBuilder`](https://docs.rs/logforth-filter-rustlog/0.5.0/logforth_filter_rustlog/struct.RustLogFilterBuilder.html), implementing `logforth_core::Filter` with `RUST_LOG`-style prefix and fallback directives. Most applications can enable this crate through the [`logforth`](https://crates.io/crates/logforth) facade crate with the `filter-rustlog` feature (included in `starter-log`). Depend on `logforth-filter-rustlog` directly when composing split `logforth-*` crates onto `logforth-core`. @@ -55,8 +55,8 @@ Directive syntax and prefix matching are adapted from [`env_filter`](https://cra ## Documentation -- [Rust API documentation](https://docs.rs/logforth-filter-rustlog/0.4.0/logforth_filter_rustlog/) -- [Logforth facade crate](https://docs.rs/logforth/0.30.1/logforth/) +- [Rust API documentation](https://docs.rs/logforth-filter-rustlog/0.5.0/logforth_filter_rustlog/) +- [Logforth facade crate](https://docs.rs/logforth/0.31.0/logforth/) ## License diff --git a/layouts/google-cloud-logging/Cargo.toml b/layouts/google-cloud-logging/Cargo.toml index 6f1383b..909f0fe 100644 --- a/layouts/google-cloud-logging/Cargo.toml +++ b/layouts/google-cloud-logging/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "logforth-layout-google-cloud-logging" -version = "0.4.0" +version = "0.5.0" description = "Google Cloud Structured Logging layout for Logforth." documentation = "https://docs.rs/logforth-layout-google-cloud-logging" diff --git a/layouts/google-cloud-logging/README.md b/layouts/google-cloud-logging/README.md index 2f2b071..9f0cd50 100644 --- a/layouts/google-cloud-logging/README.md +++ b/layouts/google-cloud-logging/README.md @@ -1,6 +1,6 @@ # Logforth Google Cloud Logging Layout -`logforth-layout-google-cloud-logging` provides [`GoogleCloudLoggingLayout`](https://docs.rs/logforth-layout-google-cloud-logging/0.4.0/logforth_layout_google_cloud_logging/struct.GoogleCloudLoggingLayout.html), implementing `logforth_core::Layout` as single-line JSON objects tailored for [Google Cloud Structured Logging](https://cloud.google.com/logging/docs/structured-logging). +`logforth-layout-google-cloud-logging` provides [`GoogleCloudLoggingLayout`](https://docs.rs/logforth-layout-google-cloud-logging/0.5.0/logforth_layout_google_cloud_logging/struct.GoogleCloudLoggingLayout.html), implementing `logforth_core::Layout` as single-line JSON objects tailored for [Google Cloud Structured Logging](https://cloud.google.com/logging/docs/structured-logging). Most applications can enable this crate through the [`logforth`](https://crates.io/crates/logforth) facade crate with the `layout-google-cloud-logging` feature. Depend on `logforth-layout-google-cloud-logging` directly when composing split `logforth-*` crates onto `logforth-core`. @@ -58,8 +58,8 @@ Explicit record key-values override colliding diagnostic entries. Because unsele ## Documentation -- [Rust API documentation](https://docs.rs/logforth-layout-google-cloud-logging/0.4.0/logforth_layout_google_cloud_logging/) -- [Logforth facade crate](https://docs.rs/logforth/0.30.1/logforth/) +- [Rust API documentation](https://docs.rs/logforth-layout-google-cloud-logging/0.5.0/logforth_layout_google_cloud_logging/) +- [Logforth facade crate](https://docs.rs/logforth/0.31.0/logforth/) ## License diff --git a/layouts/json/Cargo.toml b/layouts/json/Cargo.toml index 3dae230..61c7111 100644 --- a/layouts/json/Cargo.toml +++ b/layouts/json/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "logforth-layout-json" -version = "0.4.0" +version = "0.5.0" description = "JSON layout for Logforth." documentation = "https://docs.rs/logforth-layout-json" diff --git a/layouts/json/README.md b/layouts/json/README.md index 7c4de60..9f9eeca 100644 --- a/layouts/json/README.md +++ b/layouts/json/README.md @@ -1,6 +1,6 @@ # Logforth JSON Layout -`logforth-layout-json` provides [`JsonLayout`](https://docs.rs/logforth-layout-json/0.4.0/logforth_layout_json/struct.JsonLayout.html), implementing `logforth_core::Layout` as single-line JSON objects (JSON Lines / NDJSON when paired with a newline-delimited appender) with timezone-aware [`jiff`](https://crates.io/crates/jiff) timestamps. +`logforth-layout-json` provides [`JsonLayout`](https://docs.rs/logforth-layout-json/0.5.0/logforth_layout_json/struct.JsonLayout.html), implementing `logforth_core::Layout` as single-line JSON objects (JSON Lines / NDJSON when paired with a newline-delimited appender) with timezone-aware [`jiff`](https://crates.io/crates/jiff) timestamps. Most applications can enable this crate through the [`logforth`](https://crates.io/crates/logforth) facade crate with the `layout-json` feature. Depend on `logforth-layout-json` directly when composing split `logforth-*` crates onto `logforth-core`. @@ -42,8 +42,8 @@ By default, `JsonLayout` serializes each record as a single-line JSON object con ## Documentation -- [Rust API documentation](https://docs.rs/logforth-layout-json/0.4.0/logforth_layout_json/) -- [Logforth facade crate](https://docs.rs/logforth/0.30.1/logforth/) +- [Rust API documentation](https://docs.rs/logforth-layout-json/0.5.0/logforth_layout_json/) +- [Logforth facade crate](https://docs.rs/logforth/0.31.0/logforth/) ## License diff --git a/layouts/logfmt/Cargo.toml b/layouts/logfmt/Cargo.toml index e7b7252..d306146 100644 --- a/layouts/logfmt/Cargo.toml +++ b/layouts/logfmt/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "logforth-layout-logfmt" -version = "0.4.0" +version = "0.5.0" description = "Logfmt layout for Logforth." documentation = "https://docs.rs/logforth-layout-logfmt" diff --git a/layouts/logfmt/README.md b/layouts/logfmt/README.md index 58e91b1..a8a5872 100644 --- a/layouts/logfmt/README.md +++ b/layouts/logfmt/README.md @@ -1,6 +1,6 @@ # Logforth Logfmt Layout -`logforth-layout-logfmt` provides [`LogfmtLayout`](https://docs.rs/logforth-layout-logfmt/0.4.0/logforth_layout_logfmt/struct.LogfmtLayout.html), implementing `logforth_core::Layout` in the single-line [`logfmt`](https://brandur.org/logfmt) (`key=value`) format with timezone-aware [`jiff`](https://crates.io/crates/jiff) timestamps. +`logforth-layout-logfmt` provides [`LogfmtLayout`](https://docs.rs/logforth-layout-logfmt/0.5.0/logforth_layout_logfmt/struct.LogfmtLayout.html), implementing `logforth_core::Layout` in the single-line [`logfmt`](https://brandur.org/logfmt) (`key=value`) format with timezone-aware [`jiff`](https://crates.io/crates/jiff) timestamps. `logfmt` originated in Heroku's structured operational logging conventions (named and documented by Brandur Leach in [*logfmt*](https://brandur.org/logfmt) and formalized by [`kr/logfmt`](https://github.com/kr/logfmt) and [`go-logfmt/logfmt`](https://github.com/go-logfmt/logfmt)) to balance human readability with machine parsing. @@ -44,8 +44,8 @@ timestamp=2025-03-31T21:04:28.991239+08:00 level=INFO module=app::http position= ## Documentation -- [Rust API documentation](https://docs.rs/logforth-layout-logfmt/0.4.0/logforth_layout_logfmt/) -- [Logforth facade crate](https://docs.rs/logforth/0.30.1/logforth/) +- [Rust API documentation](https://docs.rs/logforth-layout-logfmt/0.5.0/logforth_layout_logfmt/) +- [Logforth facade crate](https://docs.rs/logforth/0.31.0/logforth/) ## License diff --git a/layouts/text/Cargo.toml b/layouts/text/Cargo.toml index be65d5f..4eef3bb 100644 --- a/layouts/text/Cargo.toml +++ b/layouts/text/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "logforth-layout-text" -version = "0.4.0" +version = "0.5.0" description = "Optionally colored text layout for Logforth." documentation = "https://docs.rs/logforth-layout-text" diff --git a/layouts/text/README.md b/layouts/text/README.md index 5046139..f1378ca 100644 --- a/layouts/text/README.md +++ b/layouts/text/README.md @@ -1,6 +1,6 @@ # Logforth Text Layout -`logforth-layout-text` provides [`TextLayout`](https://docs.rs/logforth-layout-text/0.4.0/logforth_layout_text/struct.TextLayout.html), implementing `logforth_core::Layout` as single-line human-readable text with timezone-aware [`jiff`](https://crates.io/crates/jiff) timestamps and zero-allocation [`anstyle`](https://crates.io/crates/anstyle) ANSI severity coloring. +`logforth-layout-text` provides [`TextLayout`](https://docs.rs/logforth-layout-text/0.5.0/logforth_layout_text/struct.TextLayout.html), implementing `logforth_core::Layout` as single-line human-readable text with timezone-aware [`jiff`](https://crates.io/crates/jiff) timestamps and zero-allocation [`anstyle`](https://crates.io/crates/anstyle) ANSI severity coloring. Most applications can enable this crate through the [`logforth`](https://crates.io/crates/logforth) facade crate with the `layout-text` feature (included in `starter-log`). Depend on `logforth-layout-text` directly when composing split `logforth-*` crates onto `logforth-core`. @@ -50,8 +50,8 @@ By default, `TextLayout` renders an RFC 3339 timestamp with microsecond precisio ## Documentation -- [Rust API documentation](https://docs.rs/logforth-layout-text/0.4.0/logforth_layout_text/) -- [Logforth facade crate](https://docs.rs/logforth/0.30.1/logforth/) +- [Rust API documentation](https://docs.rs/logforth-layout-text/0.5.0/logforth_layout_text/) +- [Logforth facade crate](https://docs.rs/logforth/0.31.0/logforth/) ## License diff --git a/libs/logfmt/README.md b/libs/logfmt/README.md index 0267257..d9928a3 100644 --- a/libs/logfmt/README.md +++ b/libs/logfmt/README.md @@ -112,7 +112,7 @@ Matching `go-logfmt`'s `Decoder` (and Grafana Loki's `| logfmt --keep-empty` sta ## Documentation - [Rust API documentation](https://docs.rs/logforth-logfmt/0.1.0/logforth_logfmt/) -- [`logforth-layout-logfmt`](https://docs.rs/logforth-layout-logfmt/0.4.0/logforth_layout_logfmt/) (`LogfmtLayout` integration for `logforth-core`) +- [`logforth-layout-logfmt`](https://docs.rs/logforth-layout-logfmt/0.5.0/logforth_layout_logfmt/) (`LogfmtLayout` integration for `logforth-core`) ## License diff --git a/libs/syslog/README.md b/libs/syslog/README.md index 46ac9bd..1f8b150 100644 --- a/libs/syslog/README.md +++ b/libs/syslog/README.md @@ -114,7 +114,7 @@ On Unix systems (including macOS Unified Logging / Apple System Log where `/var/ ## Documentation - [Rust API documentation](https://docs.rs/logforth-syslog/0.1.0/logforth_syslog/) -- [`logforth-append-syslog`](https://docs.rs/logforth-append-syslog/0.4.0/logforth_append_syslog/) (`Append` integration for `logforth-core`) +- [`logforth-append-syslog`](https://docs.rs/logforth-append-syslog/0.5.0/logforth_append_syslog/) (`Append` integration for `logforth-core`) ## License diff --git a/logforth/Cargo.toml b/logforth/Cargo.toml index 48e0ce3..61f5d2b 100644 --- a/logforth/Cargo.toml +++ b/logforth/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "logforth" -version = "0.30.1" +version = "0.31.0" description = "Logforth: Composable, multi-dispatch structured logging for Rust." documentation = "https://docs.rs/logforth"