Skip to content

feat(bridge-log): re-export log crate at crate root - #320

Open
tisonkun wants to merge 1 commit into
mainfrom
feat/bridge-log-reexport
Open

tisonkun wants to merge 1 commit into
mainfrom
feat/bridge-log-reexport

Conversation

@tisonkun

@tisonkun tisonkun commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Downstream crates using logforth-bridge-log (or logforth::bridge::log) often need log::LevelFilter or log::max_level when configuring non-global LogBridge instances, requiring a separate direct dependency on log.

This PR adds pub extern crate log; at the root of logforth-bridge-log, matching the third-party crate re-export convention used across other Logforth integration crates (jiff, fastrace, opentelemetry).

Test Plan

  • Exercise logforth::bridge::log::log::LevelFilter in tests-integration/tests/bridge_test/log.rs and run doctests/rustdoc checks for logforth-bridge-log and logforth.

Add `pub extern crate log;` in `logforth-bridge-log` so downstream callers configuring `LogBridge` or `log::LevelFilter` do not need a separate Cargo dependency solely to name `log` types.

Signed-off-by: tison <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant