Skip to content

Commit 6ecc1d6

Browse files
authored
Update log.ml
1 parent 554c1c8 commit 6ecc1d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

log.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ class logger facil =
215215
List.iter (fun line -> output_line facil ts pairs (" " ^ line)) bt
216216
in
217217
fun ?exn ?(lines=true) ?(backtrace=false) ?saved_backtrace ?(ts=Unix.gettimeofday()) ?(structured_pairs=[]) ?(pairs=[]) s ->
218-
let pairs = if structured_pairs!=[] && State.is_structured_format () then List.rev_append structured_pairs pairs else pairs in
218+
let pairs = if State.is_structured_format () then List.rev_append structured_pairs pairs else pairs in
219219
try
220220
match exn with
221221
| None -> output lines facil ts pairs s

0 commit comments

Comments
 (0)