Skip to content

Commit 8d33529

Browse files
committed
fix: Feature flag slog_json working again
1 parent 7a15524 commit 8d33529

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stacks-common/src/util/log.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,10 @@ impl<D: Decorator> TermFormat<D> {
190190

191191
#[cfg(feature = "slog_json")]
192192
fn make_json_logger() -> Logger {
193+
use std::sync::Mutex;
194+
195+
use slog::FnValue;
196+
193197
let def_keys = o!("file" => FnValue(move |info| {
194198
info.file()
195199
}),

0 commit comments

Comments
 (0)