Skip to content

Commit 10f5541

Browse files
committed
Eliom_lib: Remove deprecated logging functions
These functions were deprecated for more than 10 years, since the introduction of Lwt_log.
1 parent 7e5275c commit 10f5541

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

src/lib/eliom_lib.client.ml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,6 @@ let _ =
101101
(Js.string (Printexc.to_string exn))
102102
exn
103103

104-
(* Deprecated ON *)
105-
let debug_exn fmt exn = Lwt_log.ign_info_f ~exn fmt
106-
let debug fmt = Lwt_log.ign_info_f fmt
107-
let error fmt = Lwt_log.raise_error_f fmt
108-
let error_any any fmt = Lwt_log.raise_error_f ~inspect:any fmt
109-
let jsdebug a = Lwt_log.ign_info ~inspect:a "Jsdebug"
110-
(* Deprecated OFF *)
111-
112104
let trace fmt =
113105
if Eliom_config.get_tracing ()
114106
then Lwt_log.ign_info_f (">> " ^^ fmt)

src/lib/eliom_lib.client.mli

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -105,21 +105,6 @@ module Lwt_log : sig
105105
val eliom : section
106106
end
107107

108-
val error : ('a, unit, string, 'b) format4 -> 'a
109-
(** Deprecated. Use Lwt_log.ign_raise_error_f instead *)
110-
111-
val error_any : _ -> ('a, unit, string, 'b) format4 -> 'a
112-
(** Deprecated. Use Lwt_log.ign_raise_error_f (with ~inspect argument) instead *)
113-
114-
val debug : ('a, unit, string, unit) format4 -> 'a
115-
(** Deprecated. Use Lwt_log.ign_info_f instead *)
116-
117-
val debug_exn : ('a, unit, string, unit) format4 -> exn -> 'a
118-
(** Deprecated. Use Lwt_log.ign_info_f instead *)
119-
120-
val jsdebug : 'a -> unit
121-
(** Deprecated. Use Lwt_log.ign_info (with ~inspect argument) instead *)
122-
123108
val alert : ('a, unit, string, unit) format4 -> 'a
124109
val jsalert : Js.js_string Js.t -> unit
125110
val confirm : ('a, unit, string, bool) format4 -> 'a

0 commit comments

Comments
 (0)