@@ -205,8 +205,8 @@ fn make_json_logger() -> Logger {
205
205
} ) ,
206
206
) ;
207
207
208
- let drain = Mutex :: new ( slog_json:: Json :: default ( std:: io:: stderr ( ) ) ) . map ( slog :: Fuse ) ;
209
- let filtered_drain = slog:: LevelFilter :: new ( drain, get_loglevel ( ) ) . fuse ( ) ;
208
+ let drain = Mutex :: new ( slog_json:: Json :: default ( std:: io:: stderr ( ) ) ) ;
209
+ let filtered_drain = slog:: LevelFilter :: new ( drain, get_loglevel ( ) ) . ignore_res ( ) ;
210
210
slog:: Logger :: root ( filtered_drain, def_keys)
211
211
}
212
212
@@ -225,7 +225,7 @@ fn make_logger() -> Logger {
225
225
let decorator = slog_term:: PlainSyncDecorator :: new ( std:: io:: stderr ( ) ) ;
226
226
let atty = isatty ( Stream :: Stderr ) ;
227
227
let drain = TermFormat :: new ( decorator, pretty_print, debug, atty) ;
228
- let logger = Logger :: root ( drain. fuse ( ) , o ! ( ) ) ;
228
+ let logger = Logger :: root ( drain. ignore_res ( ) , o ! ( ) ) ;
229
229
logger
230
230
}
231
231
}
@@ -239,7 +239,7 @@ fn make_logger() -> Logger {
239
239
let plain = slog_term:: PlainSyncDecorator :: new ( slog_term:: TestStdoutWriter ) ;
240
240
let isatty = isatty ( Stream :: Stdout ) ;
241
241
let drain = TermFormat :: new ( plain, false , debug, isatty) ;
242
- let logger = Logger :: root ( drain. fuse ( ) , o ! ( ) ) ;
242
+ let logger = Logger :: root ( drain. ignore_res ( ) , o ! ( ) ) ;
243
243
logger
244
244
}
245
245
}
0 commit comments