Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > c7b8d5922a45aeb64a36e62c8024cf09 > files > 64

ocaml-async_extra-devel-109.24.00-2.mga4.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Std.Lock_file.html">
<link rel="next" href="Std.Persistent_singleton.html">
<link rel="Up" href="Std.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Command" rel="Chapter" href="Command.html">
<link title="File_tail" rel="Chapter" href="File_tail.html">
<link title="File_writer" rel="Chapter" href="File_writer.html">
<link title="Import" rel="Chapter" href="Import.html">
<link title="Lock_file" rel="Chapter" href="Lock_file.html">
<link title="Log" rel="Chapter" href="Log.html">
<link title="Persistent_singleton" rel="Chapter" href="Persistent_singleton.html">
<link title="Rpc" rel="Chapter" href="Rpc.html">
<link title="Rpc_intf" rel="Chapter" href="Rpc_intf.html">
<link title="Std" rel="Chapter" href="Std.html">
<link title="Tcp" rel="Chapter" href="Tcp.html">
<link title="Tcp_file" rel="Chapter" href="Tcp_file.html">
<link title="Typed_tcp" rel="Chapter" href="Typed_tcp.html">
<link title="Typed_tcp_intf" rel="Chapter" href="Typed_tcp_intf.html">
<link title="Unpack_sequence" rel="Chapter" href="Unpack_sequence.html">
<link title="User_and_group" rel="Chapter" href="User_and_group.html">
<link title="Versioned_rpc" rel="Chapter" href="Versioned_rpc.html">
<link title="Versioned_typed_tcp" rel="Chapter" href="Versioned_typed_tcp.html">
<link title="Weak_hashtbl" rel="Chapter" href="Weak_hashtbl.html"><title>Std.Log</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Std.Lock_file.html" title="Std.Lock_file">Previous</a>
&nbsp;<a class="up" href="Std.html" title="Std">Up</a>
&nbsp;<a class="post" href="Std.Persistent_singleton.html" title="Std.Persistent_singleton">Next</a>
</div>
<h1>Module <a href="type_Std.Log.html">Std.Log</a></h1>

<pre><span class="keyword">module</span> Log: <code class="type">Log</code></pre><hr width="100%">

<pre><span class="keyword">module</span> <a href="Log.Level.html">Level</a>: <code class="code">sig</code> <a href="Log.Level.html">..</a> <code class="code">end</code></pre>
<pre><span class="keyword">module</span> <a href="Log.Message.html">Message</a>: <code class="code">sig</code> <a href="Log.Message.html">..</a> <code class="code">end</code></pre>
<pre><span class="keyword">module</span> <a href="Log.Rotation.html">Rotation</a>: <code class="code">sig</code> <a href="Log.Rotation.html">..</a> <code class="code">end</code></pre>
<pre><span class="keyword">module</span> <a href="Log.Output.html">Output</a>: <code class="code">sig</code> <a href="Log.Output.html">..</a> <code class="code">end</code></pre>
<pre><span class="keyword">module</span> <a href="Log.Blocking.html">Blocking</a>: <code class="code">sig</code> <a href="Log.Blocking.html">..</a> <code class="code">end</code></pre>
<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> </pre>


<pre><span class="keyword">module type</span> <a href="Log.Global_intf.html">Global_intf</a> = <code class="code">sig</code> <a href="Log.Global_intf.html">..</a> <code class="code">end</code></pre>
<pre><span class="keyword">module</span> <a href="Log.Make_global.html">Make_global</a>: <div class="sig_block"><code class="code">functor (</code><code class="code">Empty</code><code class="code"> : </code><code class="code">sig</code><div class="sig_block"></div><code class="code">end</code><code class="code">) -&gt; </code><code class="type"><a href="Log.Global_intf.html">Global_intf</a></code><code class="type"> </code></div></pre>
<pre><span class="keyword">module</span> <a href="Log.Global.html">Global</a>: <code class="type"><a href="Log.Global_intf.html">Global_intf</a></code><code class="type"> </code></pre>
<pre><span id="VALset_level"><span class="keyword">val</span> set_level</span> : <code class="type"><a href="Log.html#TYPEt">t</a> -> <a href="Log.Level.html#TYPEt">Level.t</a> -> unit</code></pre><div class="info ">
<code class="code">set_level</code> sets the level of the given log.  Messages sent at a level less than the
    current level will not be output.<br>
</div>

<pre><span id="VALset_output"><span class="keyword">val</span> set_output</span> : <code class="type"><a href="Log.html#TYPEt">t</a> -> <a href="Log.Output.html#TYPEt">Output.t</a> list -> unit</code></pre><div class="info ">
<code class="code">set_output</code> changes the output type of the log, which can be useful when daemonizing.
    The new output type will be applied to all subsequent messages.<br>
</div>

<pre><span id="VALclose"><span class="keyword">val</span> close</span> : <code class="type"><a href="Log.html#TYPEt">t</a> -> unit</code></pre><div class="info ">
<code class="code">close</code> closes a log so that further write attempts will raise an error.<br>
</div>

<pre><span id="VALflushed"><span class="keyword">val</span> flushed</span> : <code class="type"><a href="Log.html#TYPEt">t</a> -> unit Import.Deferred.t</code></pre><div class="info ">
<code class="code">flushed</code> returns a Deferred.t that is fulfilled when the last message delivered to t
    before the call to flushed is out the door.<br>
</div>

<pre><span id="VALcreate"><span class="keyword">val</span> create</span> : <code class="type">level:<a href="Log.Level.html#TYPEt">Level.t</a> -> output:<a href="Log.Output.html#TYPEt">Output.t</a> list -> <a href="Log.html#TYPEt">t</a></code></pre><div class="info ">
<code class="code">create</code> create a new log<br>
</div>

<pre><span id="VALraw"><span class="keyword">val</span> raw</span> : <code class="type">?tags:(string * string) list -><br>       <a href="Log.html#TYPEt">t</a> -> ('a, unit, string, unit) Pervasives.format4 -> 'a</code></pre><div class="info ">
<code class="code">raw</code> printf like logging for raw (no level) messages.  Raw messages are still
    output with a timestamp.<br>
</div>

<pre><span id="VALdebug"><span class="keyword">val</span> debug</span> : <code class="type">?tags:(string * string) list -><br>       <a href="Log.html#TYPEt">t</a> -> ('a, unit, string, unit) Pervasives.format4 -> 'a</code></pre><div class="info ">
<code class="code">debug</code> printf like logging at the `Debug log level<br>
</div>

<pre><span id="VALinfo"><span class="keyword">val</span> info</span> : <code class="type">?tags:(string * string) list -><br>       <a href="Log.html#TYPEt">t</a> -> ('a, unit, string, unit) Pervasives.format4 -> 'a</code></pre><div class="info ">
<code class="code">info</code> printf like logging at the `Info log level<br>
</div>

<pre><span id="VALerror"><span class="keyword">val</span> error</span> : <code class="type">?tags:(string * string) list -><br>       <a href="Log.html#TYPEt">t</a> -> ('a, unit, string, unit) Pervasives.format4 -> 'a</code></pre><div class="info ">
<code class="code">error</code> printf like logging at the `Error log level<br>
</div>

<pre><span id="VALprintf"><span class="keyword">val</span> printf</span> : <code class="type">?tags:(string * string) list -><br>       ?level:<a href="Log.Level.html#TYPEt">Level.t</a> -><br>       <a href="Log.html#TYPEt">t</a> -> ('a, unit, string, unit) Pervasives.format4 -> 'a</code></pre><div class="info ">
<code class="code">printf</code> generalized printf style logging<br>
</div>

<pre><span id="VALsexp"><span class="keyword">val</span> sexp</span> : <code class="type">?tags:(string * string) list -><br>       ?level:<a href="Log.Level.html#TYPEt">Level.t</a> -> <a href="Log.html#TYPEt">t</a> -> 'a -> ('a -> Core.Std.Sexp.t) -> unit</code></pre><div class="info ">
<code class="code">sexp</code> logging of values without first converting them to a string.  In the case
    where the log level would discard this message no conversion will ever be done.<br>
</div>

<pre><span id="VALof_lazy"><span class="keyword">val</span> of_lazy</span> : <code class="type">?tags:(string * string) list -><br>       ?level:<a href="Log.Level.html#TYPEt">Level.t</a> -> <a href="Log.html#TYPEt">t</a> -> string Core.Std.Lazy.t -> unit</code></pre><div class="info ">
<code class="code">of_lazy</code> logging of lazy values.  In the case where the log level would discard this
    message no evaluation will ever be forced.<br>
</div>

<pre><span id="VALmessage"><span class="keyword">val</span> message</span> : <code class="type"><a href="Log.html#TYPEt">t</a> -> <a href="Log.Message.html#TYPEt">Message.t</a> -> unit</code></pre>
<pre><span class="keyword">module</span> <a href="Log.Reader.html">Reader</a>: <code class="code">sig</code> <a href="Log.Reader.html">..</a> <code class="code">end</code></pre></body></html>