Use new logger

This commit is contained in:
John Whitington
2023-04-25 13:45:56 +01:00
parent b17b08a3e1
commit c30c49e90e
13 changed files with 78 additions and 80 deletions

View File

@ -199,7 +199,7 @@ let return_date () =
let current_time () =
try return_date () with
e ->
Printf.eprintf "Failed to retrieve time due to %s\n%!" (Printexc.to_string e);
Pdfe.log (Printf.sprintf "Failed to retrieve time due to %s\n" (Printexc.to_string e));
{_tm_sec = 0;
_tm_min = 0;
_tm_hour = 0;