Skip to content

Commit 06b3d20

Browse files
author
Joshua Tracey
committed
fix: expose logger publicly on customLayer
1 parent b640cd4 commit 06b3d20

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "scribe-rust"
3-
version = "1.0.0"
3+
version = "1.0.1"
44
edition = "2021"
55
license = "MIT"
66
authors = ["joshua.tracey08@gmail.com"]

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ impl Visit for FieldVisitor {
156156
}
157157

158158
pub struct CustomLoggerLayer {
159-
logger: Arc<Logger>,
159+
pub logger: Arc<Logger>,
160160
}
161161

162162
impl<S> Layer<S> for CustomLoggerLayer

0 commit comments

Comments
 (0)