diff --git a/src/core/lwt_log_core.mli b/src/core/lwt_log_core.mli index 47e085f..b7ebab5 100644 --- a/src/core/lwt_log_core.mli +++ b/src/core/lwt_log_core.mli @@ -164,7 +164,7 @@ val ign_log_f : ?exn : exn -> ?section : section -> ?location : (string * int * (** The following functions are the same as {!log} except that their name determines which level is used. - For example {!info msg} is the same as {!log ~level:Info msg}. + For example {!info}[ msg] is the same as {!log}[ ~level:Info msg]. *) val debug : ?exn : exn -> ?section : section -> ?location : (string * int * int) -> ?logger : logger -> string -> unit Lwt.t diff --git a/src/unix/lwt_log.mli b/src/unix/lwt_log.mli index 00118b2..26e8d1d 100644 --- a/src/unix/lwt_log.mli +++ b/src/unix/lwt_log.mli @@ -50,7 +50,7 @@ let () = ]} As an alternative to this module, we suggest trying - {{: http://erratique.ch/software/logs/doc/Logs_lwt.html}[Logs_lwt] from the + {{: http://erratique.ch/software/logs/doc/Logs_lwt.html}[Logs_lwt]} from the {{: http://erratique.ch/software/logs} [logs]} library. *) include module type of Lwt_log_core @@ -86,7 +86,7 @@ val syslog : ?template : template -> ?paths : string list -> facility : syslog_f which send message to the system logger. @param paths is a list of path to try for the syslogd socket. It - default to [\["/dev/log"; "/var/run/log"\]]. + default to [["/dev/log"; "/var/run/log"]]. @param template defaults to ["$(date) $(name)[$(pid)]: $(section): $(message)"] *)