Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
32 changes: 16 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }

Expand Down
70 changes: 35 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/
Expand All @@ -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/

Expand Down
2 changes: 1 addition & 1 deletion appenders/async/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions appenders/async/README.md
Original file line number Diff line number Diff line change
@@ -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`.

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion appenders/fastrace/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions appenders/fastrace/README.md
Original file line number Diff line number Diff line change
@@ -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`.

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion appenders/file/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading
Loading