We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 554c1c8 commit 6ecc1d6Copy full SHA for 6ecc1d6
1 file changed
log.ml
@@ -215,7 +215,7 @@ class logger facil =
215
List.iter (fun line -> output_line facil ts pairs (" " ^ line)) bt
216
in
217
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
+ let pairs = if State.is_structured_format () then List.rev_append structured_pairs pairs else pairs in
219
try
220
match exn with
221
| None -> output lines facil ts pairs s
0 commit comments