Skip to content

Commit

Permalink
bin/main: log to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
ushitora-anqou committed Apr 2, 2024
1 parent 6ff5a4c commit a96f55b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ let () =
if file_name = "" then Logs.(add_reporter (make_stderr_reporter ~l:Debug))
else Logs.(add_reporter (make_file_reporter ~l:Debug ~file_name ())));
*)
Fmt.set_style_renderer Fmt.stdout `Ansi_tty;
Fmt.set_style_renderer Fmt.stderr `Ansi_tty;
Logs.set_reporter (Logs_fmt.reporter ());
Logs.set_level (Some Logs.Debug);

Expand Down

0 comments on commit a96f55b

Please sign in to comment.