Skip to content

Commit 9e9478f

Browse files
committed
Revert "revert logging commit (pr 4124)"
This reverts commit 609005f.
1 parent 609005f commit 9e9478f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stacks-common/src/util/log.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ fn make_logger() -> Logger {
238238
let plain = slog_term::PlainSyncDecorator::new(slog_term::TestStdoutWriter);
239239
let isatty = isatty(Stream::Stdout);
240240
let drain = TermFormat::new(plain, false, debug, isatty);
241-
Logger::root(drain.ignore_res(), o!())
241+
let logger = Logger::root(drain.ignore_res(), o!());
242+
logger
242243
}
243244
}
244245

0 commit comments

Comments
 (0)