Skip to content

Commit

Permalink
Docs: fix markup errors caught by odoc
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
aantron committed Dec 16, 2017
1 parent 35df29e commit ab23ecf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/lwt_log_core.mli
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/unix/lwt_log.mli
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)"]
*)

Expand Down

0 comments on commit ab23ecf

Please sign in to comment.