module Msg:Messages to the user.sig
..end
val msg : Cfg.verbosity -> string -> unit
msg verbosity message
outputs the given string as message to
stderr, trailed by a newline and flush, if the current verbosity
setting is >= verbosity
.val msg1 : Cfg.verbosity ->
('a -> 'b, Pervasives.out_channel, unit) Pervasives.format -> 'a -> unit
msg
that takes a format string with a single argument.
Note: There seems no way in pure OCaml to use the curried formatting on arbitrary arguments such that:
verbosity
.val msg2 : Cfg.verbosity ->
('a -> 'b -> 'c, Pervasives.out_channel, unit) Pervasives.format ->
'a -> 'b -> unit
msg
that takes a format string with two arguments.val msg3 : Cfg.verbosity ->
('a -> 'b -> 'c -> 'd, Pervasives.out_channel, unit) Pervasives.format ->
'a -> 'b -> 'c -> unit
msg
that takes a format string with three arguments.val msg4 : Cfg.verbosity ->
('a -> 'b -> 'c -> 'd -> 'e, Pervasives.out_channel, unit) Pervasives.format ->
'a -> 'b -> 'c -> 'd -> unit
msg
that takes a format string with four arguments.val msg5 : Cfg.verbosity ->
('a -> 'b -> 'c -> 'd -> 'e -> 'f, Pervasives.out_channel, unit)
Pervasives.format -> 'a -> 'b -> 'c -> 'd -> 'e -> unit
msg
that takes a format string with five arguments.val msg8 : Cfg.verbosity ->
('a -> 'b -> 'c -> 'd -> 'e -> 'f -> 'g -> 'h -> 'i, Pervasives.out_channel,
unit)
Pervasives.format -> 'a -> 'b -> 'c -> 'd -> 'e -> 'f -> 'g -> 'h -> unit
msg
that takes a format string with eight arguments.