This file is indexed.

/usr/share/doc/libghc-logging-facade-doc/html/System-Logging-Facade.html is in libghc-logging-facade-doc 0.1.0-2.

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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>System.Logging.Facade</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_System-Logging-Facade.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/System-Logging-Facade.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">logging-facade-0.1.0: Simple logging abstraction that allows multiple back-ends</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">System.Logging.Facade</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Producing log messages</a></li><li><a href="#g:2">Types</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module is intended to be imported qualified:</p><pre>import qualified System.Logging.Facade as Log</pre></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:log">log</a> :: (?loc :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Stack.html#t:CallStack">CallStack</a>) =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="System-Logging-Facade.html#t:LogLevel">LogLevel</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; m ()</li><li class="src short"><a href="#v:trace">trace</a> :: (?loc :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Stack.html#t:CallStack">CallStack</a>) =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; m ()</li><li class="src short"><a href="#v:debug">debug</a> :: (?loc :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Stack.html#t:CallStack">CallStack</a>) =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; m ()</li><li class="src short"><a href="#v:info">info</a> :: (?loc :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Stack.html#t:CallStack">CallStack</a>) =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; m ()</li><li class="src short"><a href="#v:warn">warn</a> :: (?loc :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Stack.html#t:CallStack">CallStack</a>) =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; m ()</li><li class="src short"><a href="#v:error">error</a> :: (?loc :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Stack.html#t:CallStack">CallStack</a>) =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; m ()</li><li class="src short"><span class="keyword">class</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; <a href="#t:Logging">Logging</a> m</li><li class="src short"><span class="keyword">data</span> <a href="#t:LogLevel">LogLevel</a><ul class="subs"><li>= <a href="#v:TRACE">TRACE</a></li><li>| <a href="#v:DEBUG">DEBUG</a></li><li>| <a href="#v:INFO">INFO</a></li><li>| <a href="#v:WARN">WARN</a></li><li>| <a href="#v:ERROR">ERROR</a></li></ul></li></ul></div><div id="interface"><h1 id="g:1">Producing log messages</h1><div class="top"><p class="src"><a name="v:log" class="def">log</a> :: (?loc :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Stack.html#t:CallStack">CallStack</a>) =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="System-Logging-Facade.html#t:LogLevel">LogLevel</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; m () <a href="src/System-Logging-Facade.html#log" class="link">Source</a></p><div class="doc"><p>Produce a log message with specified log level.</p></div></div><div class="top"><p class="src"><a name="v:trace" class="def">trace</a> :: (?loc :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Stack.html#t:CallStack">CallStack</a>) =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; m () <a href="src/System-Logging-Facade.html#trace" class="link">Source</a></p><div class="doc"><p>Produce a log message with log level <code><a href="System-Logging-Facade.html#v:TRACE">TRACE</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:debug" class="def">debug</a> :: (?loc :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Stack.html#t:CallStack">CallStack</a>) =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; m () <a href="src/System-Logging-Facade.html#debug" class="link">Source</a></p><div class="doc"><p>Produce a log message with log level <code><a href="System-Logging-Facade.html#v:DEBUG">DEBUG</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:info" class="def">info</a> :: (?loc :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Stack.html#t:CallStack">CallStack</a>) =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; m () <a href="src/System-Logging-Facade.html#info" class="link">Source</a></p><div class="doc"><p>Produce a log message with log level <code><a href="System-Logging-Facade.html#v:INFO">INFO</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:warn" class="def">warn</a> :: (?loc :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Stack.html#t:CallStack">CallStack</a>) =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; m () <a href="src/System-Logging-Facade.html#warn" class="link">Source</a></p><div class="doc"><p>Produce a log message with log level <code><a href="System-Logging-Facade.html#v:WARN">WARN</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:error" class="def">error</a> :: (?loc :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Stack.html#t:CallStack">CallStack</a>) =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; m () <a href="src/System-Logging-Facade.html#error" class="link">Source</a></p><div class="doc"><p>Produce a log message with log level <code><a href="System-Logging-Facade.html#v:ERROR">ERROR</a></code>.</p></div></div><h1 id="g:2">Types</h1><div class="top"><p class="src"><span class="keyword">class</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; <a name="t:Logging" class="def">Logging</a> m <a href="src/System-Logging-Facade-Class.html#Logging" class="link">Source</a></p><div class="doc"><p>A type class for monads with logging support</p></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="System-Logging-Facade-Class.html#v:consumeLogRecord">consumeLogRecord</a></p></div><div class="subs instances"><p id="control.i:Logging" class="caption collapser" onclick="toggleSection('i:Logging')">Instances</p><div id="section.i:Logging" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="System-Logging-Facade.html#t:Logging">Logging</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a></span> <a href="src/System-Logging-Facade-Class.html#line-36" class="link">Source</a></td><td class="doc"><p>Log messages that are produced in the <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a></code> monad are consumed by the
 global <code><a href="System-Logging-Facade-Sink.html#t:LogSink">LogSink</a></code>.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Control-Monad-Trans-Maybe.html#t:MaybeT">MaybeT</a> m)</span> <a href="src/System-Logging-Facade-Class.html#line-53" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Control-Monad-Trans-List.html#t:ListT">ListT</a> m)</span> <a href="src/System-Logging-Facade-Class.html#line-50" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Control-Monad-Trans-Identity.html#t:IdentityT">IdentityT</a> m)</span> <a href="src/System-Logging-Facade-Class.html#line-47" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Monoid">Monoid</a> w, <a href="System-Logging-Facade.html#t:Logging">Logging</a> m) =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Control-Monad-Trans-Writer-Strict.html#t:WriterT">WriterT</a> w m)</span> <a href="src/System-Logging-Facade-Class.html#line-74" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Monoid">Monoid</a> w, <a href="System-Logging-Facade.html#t:Logging">Logging</a> m) =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Control-Monad-Trans-Writer-Lazy.html#t:WriterT">WriterT</a> w m)</span> <a href="src/System-Logging-Facade-Class.html#line-71" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Control-Monad-Trans-Error.html#t:Error">Error</a> e, <a href="System-Logging-Facade.html#t:Logging">Logging</a> m) =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Control-Monad-Trans-Error.html#t:ErrorT">ErrorT</a> e m)</span> <a href="src/System-Logging-Facade-Class.html#line-44" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Control-Monad-Trans-Except.html#t:ExceptT">ExceptT</a> e m)</span> <a href="src/System-Logging-Facade-Class.html#line-78" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Control-Monad-Trans-State-Strict.html#t:StateT">StateT</a> s m)</span> <a href="src/System-Logging-Facade-Class.html#line-68" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Control-Monad-Trans-State-Lazy.html#t:StateT">StateT</a> s m)</span> <a href="src/System-Logging-Facade-Class.html#line-65" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Control-Monad-Trans-Reader.html#t:ReaderT">ReaderT</a> r m)</span> <a href="src/System-Logging-Facade-Class.html#line-56" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="System-Logging-Facade.html#t:Logging">Logging</a> m =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Control-Monad-Trans-Cont.html#t:ContT">ContT</a> r m)</span> <a href="src/System-Logging-Facade-Class.html#line-41" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Monoid">Monoid</a> w, <a href="System-Logging-Facade.html#t:Logging">Logging</a> m) =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Control-Monad-Trans-RWS-Strict.html#t:RWST">RWST</a> r w s m)</span> <a href="src/System-Logging-Facade-Class.html#line-62" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Monoid">Monoid</a> w, <a href="System-Logging-Facade.html#t:Logging">Logging</a> m) =&gt; <a href="System-Logging-Facade.html#t:Logging">Logging</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Control-Monad-Trans-RWS-Lazy.html#t:RWST">RWST</a> r w s m)</span> <a href="src/System-Logging-Facade-Class.html#line-59" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:LogLevel" class="def">LogLevel</a> <a href="src/System-Logging-Facade-Types.html#LogLevel" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:TRACE" class="def">TRACE</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:DEBUG" class="def">DEBUG</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:INFO" class="def">INFO</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:WARN" class="def">WARN</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:ERROR" class="def">ERROR</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:LogLevel" class="caption collapser" onclick="toggleSection('i:LogLevel')">Instances</p><div id="section.i:LogLevel" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Bounded">Bounded</a> <a href="System-Logging-Facade.html#t:LogLevel">LogLevel</a></span> <a href="src/System-Logging-Facade-Types.html#line-4" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Enum">Enum</a> <a href="System-Logging-Facade.html#t:LogLevel">LogLevel</a></span> <a href="src/System-Logging-Facade-Types.html#line-4" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="System-Logging-Facade.html#t:LogLevel">LogLevel</a></span> <a href="src/System-Logging-Facade-Types.html#line-4" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="System-Logging-Facade.html#t:LogLevel">LogLevel</a></span> <a href="src/System-Logging-Facade-Types.html#line-4" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="System-Logging-Facade.html#t:LogLevel">LogLevel</a></span> <a href="src/System-Logging-Facade-Types.html#line-4" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>