/usr/lib/ocaml/ocsigenserver/ocsigen_messages.mli is in libocsigenserver-ocaml-dev 2.2.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | (* Ocsigen
* Copyright (C) 2005 Vincent Balat
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, with linking exception;
* either version 2.1 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*)
(** Writing messages in the logs *)
(** Write a message in access.log *)
val accesslog : string -> unit
(** Write a message in errors.log *)
val errlog : string -> unit
(** Write a message in warnings.log *)
val warning : string -> unit
(** Write a message only in debugging mode (-V option) - Non cooperative *)
val debug : (unit -> string) -> unit
(** Write a message only in debugging mode (-V option) - Non cooperative *)
val debug2 : string -> unit
(** Same as [debug] without new line at the end - Non cooperative *)
val debug_noel : (unit -> string) -> unit
(** Same as [debug] without new line at the end - Non cooperative *)
val debug_noel2 : string -> unit
(** Write a message in the console (if not called in silent mode) *)
val console : (unit -> string) -> unit
(** Write a message in the console (if not called in silent mode) *)
val console2 : string -> unit
(** Use that function for all impossible cases in exception handlers
([try ... with ... | e -> unexpected_exception ...] or [Lwt.catch ...]).
A message will be written in [warnings.log].
Put something in the string to help locating the problem (usually the name
of the function where is has been called).
*)
val unexpected_exception : exn -> string -> unit
(** Path to the error log file *)
val error_log_path : unit -> string
(**/**)
val open_files : ?user:string option -> ?group:string option -> unit -> unit Lwt.t
val bip : int -> unit
|