From: Stefano Zacchiroli Date: Wed, 11 Feb 2004 12:00:51 +0000 (+0000) Subject: ported to new logger X-Git-Tag: V_0_3_0~23 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=1fa2e1ad132b280dbf3a0fb670e4e79858a15e6d;p=helm.git ported to new logger --- diff --git a/helm/ocaml/cic_disambiguation/disambiguate.ml b/helm/ocaml/cic_disambiguation/disambiguate.ml index d37819c6a..edc112992 100644 --- a/helm/ocaml/cic_disambiguation/disambiguate.ml +++ b/helm/ocaml/cic_disambiguation/disambiguate.ml @@ -377,13 +377,13 @@ module Make (C: Callbacks) = (function uri,_ -> MQueryMisc.wrong_xpointer_format_from_wrong_xpointer_format' uri ) result in - C.output_html (`Msg (`T "Locate query:")); + HelmLogger.log (`Msg (`T "Locate query:")); MQueryUtil.text_of_query - (fun s -> C.output_html ~append_NL:false (`Msg (`T s))) + (fun s -> HelmLogger.log ~append_NL:false (`Msg (`T s))) "" query; - C.output_html (`Msg (`T "Result:")); + HelmLogger.log (`Msg (`T "Result:")); MQueryUtil.text_of_result - (fun s -> C.output_html (`Msg (`T s))) "" result; + (fun s -> HelmLogger.log (`Msg (`T s))) "" result; let uris' = match uris with | [] -> diff --git a/helm/ocaml/cic_disambiguation/disambiguateTypes.ml b/helm/ocaml/cic_disambiguation/disambiguateTypes.ml index 648286ec2..92ca39f72 100644 --- a/helm/ocaml/cic_disambiguation/disambiguateTypes.ml +++ b/helm/ocaml/cic_disambiguation/disambiguateTypes.ml @@ -22,7 +22,6 @@ and environment = codomain_item Environment.t module type Callbacks = sig - val output_html : ?append_NL:bool -> Ui_logger.html_msg -> unit val interactive_user_uri_choice : selection_mode:[`SINGLE | `MULTIPLE] -> ?ok:string -> diff --git a/helm/ocaml/cic_disambiguation/disambiguateTypes.mli b/helm/ocaml/cic_disambiguation/disambiguateTypes.mli index 059ecf388..b6130080f 100644 --- a/helm/ocaml/cic_disambiguation/disambiguateTypes.mli +++ b/helm/ocaml/cic_disambiguation/disambiguateTypes.mli @@ -40,7 +40,6 @@ and environment = codomain_item Environment.t module type Callbacks = sig - val output_html : ?append_NL:bool -> Ui_logger.html_msg -> unit val interactive_user_uri_choice : selection_mode:[`SINGLE | `MULTIPLE] -> ?ok:string ->