Added cabal and vim dir
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<!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.Log.Formatter</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-Log-Formatter.html");};
|
||||
//]]>
|
||||
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">hslogger-1.2.8: Versatile logging framework</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">System.Log.Formatter</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Definition of log formatter support</p><p>A few basic, and extendable formatters are defined.</p><p>Please see <a href="System-Log-Logger.html">System.Log.Logger</a> for extensive documentation on the
|
||||
logging system.</p></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"><span class="keyword">type</span> <a href="#t:LogFormatter">LogFormatter</a> a = a -> <a href="System-Log.html#t:LogRecord">LogRecord</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:nullFormatter">nullFormatter</a> :: <a href="System-Log-Formatter.html#t:LogFormatter">LogFormatter</a> a</li><li class="src short"><a href="#v:simpleLogFormatter">simpleLogFormatter</a> :: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a> -> <a href="System-Log-Formatter.html#t:LogFormatter">LogFormatter</a> a</li><li class="src short"><a href="#v:tfLogFormatter">tfLogFormatter</a> :: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a> -> <a href="System-Log-Formatter.html#t:LogFormatter">LogFormatter</a> a</li><li class="src short"><a href="#v:varFormatter">varFormatter</a> :: [(<a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a>, <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a>)] -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a> -> <a href="System-Log-Formatter.html#t:LogFormatter">LogFormatter</a> a</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:LogFormatter" class="def">LogFormatter</a> a</p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src"> = a</td><td class="doc"><p>The LogHandler that the passed message came from </p></td></tr><tr><td class="src">-> <a href="System-Log.html#t:LogRecord">LogRecord</a></td><td class="doc"><p>The log message and priority</p></td></tr><tr><td class="src">-> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a></td><td class="doc"><p>The logger name</p></td></tr><tr><td class="src">-> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a></td><td class="doc"><p>The formatted log message</p></td></tr></table></div><div class="doc"><p>A LogFormatter is used to format log messages. Note that it is paramterized on the
|
||||
<code>Handler</code> to allow the formatter to use information specific to the handler
|
||||
(an example of can be seen in the formatter used in <code><a href="System-Log-Handler.html#t:Syslog">Syslog</a></code>)</p></div></div><div class="top"><p class="src"><a name="v:nullFormatter" class="def">nullFormatter</a> :: <a href="System-Log-Formatter.html#t:LogFormatter">LogFormatter</a> a</p><div class="doc"><p>Returns the passed message as is, ie. no formatting is done.</p></div></div><div class="top"><p class="src"><a name="v:simpleLogFormatter" class="def">simpleLogFormatter</a> :: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a> -> <a href="System-Log-Formatter.html#t:LogFormatter">LogFormatter</a> a</p><div class="doc"><p>Takes a format string, and returns a formatter that may be used to
|
||||
format log messages. The format string may contain variables prefixed with
|
||||
a $-sign which will be replaced at runtime with corresponding values. The
|
||||
currently supported variables are:</p><ul><li><p><code>$msg</code> - The actual log message</p><ul><li><code>$loggername</code> - The name of the logger</li><li><code>$prio</code> - The priority level of the message</li><li><code>$tid</code> - The thread ID</li><li><code>$pid</code> - Process ID (Not available on windows)</li><li><code>$time</code> - The current time </li><li><code>$utcTime</code> - The current time in UTC Time</li></ul></li></ul></div></div><div class="top"><p class="src"><a name="v:tfLogFormatter" class="def">tfLogFormatter</a> :: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a> -> <a href="System-Log-Formatter.html#t:LogFormatter">LogFormatter</a> a</p><div class="doc"><p>Like <code><a href="System-Log-Formatter.html#v:simpleLogFormatter">simpleLogFormatter</a></code> but allow the time format to be specified in the first
|
||||
parameter (this is passed to <code><a href="Date-Time-Format.html#v:formatTime">formatTime</a></code>)</p></div></div><div class="top"><p class="src"><a name="v:varFormatter" class="def">varFormatter</a> :: [(<a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a>, <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a>)] -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a> -> <a href="System-Log-Formatter.html#t:LogFormatter">LogFormatter</a> a</p><div class="doc"><p>An extensible formatter that allows new substition <em>variables</em> to be defined.
|
||||
Each variable has an associated IO action that is used to produce the
|
||||
string to substitute for the variable name. The predefined variables are the same
|
||||
as for <code><a href="System-Log-Formatter.html#v:simpleLogFormatter">simpleLogFormatter</a></code> <em>excluding</em> <code>$time</code> and <code>$utcTime</code>.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.0</p></div></body></html>
|
@@ -0,0 +1,8 @@
|
||||
<!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.Log.Handler.Growl</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-Log-Handler-Growl.html");};
|
||||
//]]>
|
||||
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">hslogger-1.2.8: Versatile logging framework</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>Copyright (C) 2007-2011 John Goerzen <jgoerzen@complete.org></td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>Richard M. Neswold, Jr. <rich.neswold@gmail.com></td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">System.Log.Handler.Growl</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Simple log handlers</p><p>Written by Richard M. Neswold, Jr. rich.neswold@gmail.com</p></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:addTarget">addTarget</a> :: <a href="file:///Users/sidharta/.cabal/share/doc/x86_64-osx-ghc-7.10.1/network-2.6.0.2/html/Network-Socket.html#t:HostName">HostName</a> -> GrowlHandler -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> GrowlHandler</li><li class="src short"><a href="#v:growlHandler">growlHandler</a> :: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a> -> <a href="System-Log.html#t:Priority">Priority</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> GrowlHandler</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:addTarget" class="def">addTarget</a> :: <a href="file:///Users/sidharta/.cabal/share/doc/x86_64-osx-ghc-7.10.1/network-2.6.0.2/html/Network-Socket.html#t:HostName">HostName</a> -> GrowlHandler -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> GrowlHandler</p><div class="doc"><p>Adds a remote machine's address to the list of targets that will
|
||||
receive log messages. Calling this function sends a registration
|
||||
packet to the machine. This function will throw an exception if
|
||||
the host name cannot be found. </p></div></div><div class="top"><p class="src"><a name="v:growlHandler" class="def">growlHandler</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a></td><td class="doc"><p>The name of the service</p></td></tr><tr><td class="src">-> <a href="System-Log.html#t:Priority">Priority</a></td><td class="doc"><p>Priority of handler</p></td></tr><tr><td class="src">-> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> GrowlHandler</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Creates a Growl handler. Once a Growl handler has been created,
|
||||
machines that are to receive the message have to be specified. </p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.0</p></div></body></html>
|
@@ -0,0 +1,47 @@
|
||||
<!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.Log.Handler.Log4jXML</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-Log-Handler-Log4jXML.html");};
|
||||
//]]>
|
||||
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">hslogger-1.2.8: Versatile logging framework</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>Copyright (C) 2007-2011 John Goerzen</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>bjorn.buckwalter@gmail.com</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Portability</th><td>GHC only?</td></tr><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">System.Log.Handler.Log4jXML</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Introduction</a><ul><li><a href="#g:2">Handlers with hslogger levels </a></li><li><a href="#g:3">Handlers with log4j levels</a></li></ul></li><li><a href="#g:4">Java install process</a></li><li><a href="#g:5">Chainsaw setup</a></li><li><a href="#g:6">Example usage</a></li><li><a href="#g:7">References</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>log4j[1] XMLLayout log handlers.</p><p>Written by Bjorn Buckwalter, bjorn.buckwalter@gmail.com</p></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:log4jStreamHandler">log4jStreamHandler</a> :: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a> -> <a href="System-Log.html#t:Priority">Priority</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> (<a href="System-Log-Handler-Simple.html#t:GenericHandler">GenericHandler</a> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a>)</li><li class="src short"><a href="#v:log4jFileHandler">log4jFileHandler</a> :: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:FilePath">FilePath</a> -> <a href="System-Log.html#t:Priority">Priority</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> (<a href="System-Log-Handler-Simple.html#t:GenericHandler">GenericHandler</a> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a>)</li><li class="src short"><a href="#v:log4jStreamHandler-39-">log4jStreamHandler'</a> :: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a> -> <a href="System-Log.html#t:Priority">Priority</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> (<a href="System-Log-Handler-Simple.html#t:GenericHandler">GenericHandler</a> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a>)</li><li class="src short"><a href="#v:log4jFileHandler-39-">log4jFileHandler'</a> :: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:FilePath">FilePath</a> -> <a href="System-Log.html#t:Priority">Priority</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> (<a href="System-Log-Handler-Simple.html#t:GenericHandler">GenericHandler</a> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a>)</li></ul></div><div id="interface"><h1 id="g:1">Introduction</h1><div class="doc"><p>This module provides handlers for hslogger that are
|
||||
compatible with log4j's XMLLayout. In particular log messages
|
||||
created by the handlers can be published directly to the GUI-based
|
||||
log viewer Chainsaw v2[2].</p><p>The set of log levels in hslogger is richer than the basic set
|
||||
of log4j levels. Two sets of handlers are provided with hslogger4j,
|
||||
one which produces logs with hslogger's levels and one which
|
||||
"demotes" them to the basic log4j levels. If full hslogger
|
||||
levels are used some Java installation (see below) is necessary
|
||||
to make Chainsaw aware of them.</p><p>Usage of the handlers in hslogger4j is analoguous to usage of
|
||||
the <code><a href="System-Log-Handler-Simple.html#t:StreamHandler">StreamHandler</a></code> and
|
||||
<code><a href="System-Log-Handler-Simple.html#t:FileHandler">FileHandler</a></code> in <a href="System-Log-Handler-Simple.html">System.Log.Handler.Simple</a>.
|
||||
The following handlers are provided: </p></div><h2 id="g:2">Handlers with hslogger levels </h2><div class="top"><p class="src"><a name="v:log4jStreamHandler" class="def">log4jStreamHandler</a> :: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a> -> <a href="System-Log.html#t:Priority">Priority</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> (<a href="System-Log-Handler-Simple.html#t:GenericHandler">GenericHandler</a> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a>)</p><div class="doc"><p>Create a stream log handler that uses hslogger priorities.</p></div></div><div class="top"><p class="src"><a name="v:log4jFileHandler" class="def">log4jFileHandler</a> :: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:FilePath">FilePath</a> -> <a href="System-Log.html#t:Priority">Priority</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> (<a href="System-Log-Handler-Simple.html#t:GenericHandler">GenericHandler</a> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a>)</p><div class="doc"><p>Create a file log handler that uses hslogger priorities.</p></div></div><h2 id="g:3">Handlers with log4j levels</h2><div class="top"><p class="src"><a name="v:log4jStreamHandler-39-" class="def">log4jStreamHandler'</a> :: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a> -> <a href="System-Log.html#t:Priority">Priority</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> (<a href="System-Log-Handler-Simple.html#t:GenericHandler">GenericHandler</a> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a>)</p><div class="doc"><p>Create a stream log handler that uses log4j levels (priorities). The
|
||||
priorities of messages are shoehorned into log4j levels as follows:</p><pre> DEBUG -> DEBUG
|
||||
INFO, NOTICE -> INFO
|
||||
WARNING -> WARN
|
||||
ERROR, CRITICAL, ALERT -> ERROR
|
||||
EMERGENCY -> FATAL
|
||||
</pre><p>This is useful when the log will only be consumed by log4j tools and
|
||||
you don't want to go out of your way transforming the log or configuring
|
||||
the tools. </p></div></div><div class="top"><p class="src"><a name="v:log4jFileHandler-39-" class="def">log4jFileHandler'</a> :: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:FilePath">FilePath</a> -> <a href="System-Log.html#t:Priority">Priority</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> (<a href="System-Log-Handler-Simple.html#t:GenericHandler">GenericHandler</a> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a>)</p><div class="doc"><p>Create a file log handler that uses log4j levels (see
|
||||
<code><a href="System-Log-Handler-Log4jXML.html#v:log4jStreamHandler-39-">log4jStreamHandler'</a></code> for mappings). </p></div></div><h1 id="g:4">Java install process</h1><div class="doc"><p>This is only necessary if you want to use the hslogger levels.</p><p>Add <code>hslogger4j.jar</code> from <code>contrib/java</code> to your classpath.
|
||||
To use you will also need to have the jars <code>log4j-1.3alpha-7.jar</code>
|
||||
and <code>log4j-xml-1.3alpha-7.jar</code> that are distributed with Chainsaw
|
||||
on your classpath.</p><p>(On Mac OS X I added all three jars to <code>~/Library/Java/Extensions</code>.
|
||||
It seems that it is not sufficient that Chainsaw already includes
|
||||
its jars in the classpath when launching - perhaps the plugin
|
||||
classloader does not inherit Chainsaw's classpath. Adding the
|
||||
jars to <code>~/.chainsaw/plugins</code> wouldn't work either.)</p><p>If for whatever reason you have to rebuild the hslogger4j jar
|
||||
just run <code>ant</code>[3] in the <code>contrib/java</code> directory. The new jar
|
||||
will be created in the <code>contrib/java/dist</code> directory. The Java
|
||||
source code is copyright The Apache Software Foundation and
|
||||
licensed under the Apache Licence version 2.0. </p></div><h1 id="g:5">Chainsaw setup</h1><div class="doc"><p>If you are only using the basic log4j levels just use
|
||||
Chainsaw's regular facilities to browse logs or listen for log
|
||||
messages (e.g. <code>XMLSocketReceiver</code>).</p><p>If you want to use the hslogger levels the easiest way to set
|
||||
up Chainsaw is to load the plugins in <code>hslogger4j-plugins.xml</code>
|
||||
in <code>contrib/java</code> when launching Chainsaw. Two receivers will
|
||||
be defined, one that listens for logmessages and one for reading
|
||||
log files. Edit the properties of those receivers as needed
|
||||
(e.g. <code>port</code>, <code>fileURL</code>) and restart them. You will also want
|
||||
to modify Chainsaw's formatting preferences to display levels
|
||||
as text instead of icons. </p></div><h1 id="g:6">Example usage</h1><div class="doc"><p>In the IO monad:</p><pre>lh2 <- log4jFileHandler "log.xml" DEBUG
|
||||
updateGlobalLogger rootLoggerName (addHandler lh2)</pre><pre>h <- connectTo "localhost" (PortNumber 4448)
|
||||
lh <- log4jStreamHandler h NOTICE
|
||||
updateGlobalLogger rootLoggerName (addHandler lh)</pre></div><h1 id="g:7">References</h1><div class="doc"><ol><li><p><a href="http://logging.apache.org/log4j/">http://logging.apache.org/log4j/</a></p><ol><li><a href="http://logging.apache.org/chainsaw/">http://logging.apache.org/chainsaw/</a></li><li><a href="http://ant.apache.org/">http://ant.apache.org/</a></li></ol></li></ol></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.0</p></div></body></html>
|
@@ -0,0 +1,10 @@
|
||||
<!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.Log.Handler.Simple</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-Log-Handler-Simple.html");};
|
||||
//]]>
|
||||
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">hslogger-1.2.8: Versatile logging framework</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>Copyright (C) 2004-2011 John Goerzen</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>John Goerzen <jgoerzen@complete.org> </td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">System.Log.Handler.Simple</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Simple log handlers</p><p>Written by John Goerzen, jgoerzen@complete.org</p></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:streamHandler">streamHandler</a> :: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a> -> <a href="System-Log.html#t:Priority">Priority</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> (<a href="System-Log-Handler-Simple.html#t:GenericHandler">GenericHandler</a> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a>)</li><li class="src short"><a href="#v:fileHandler">fileHandler</a> :: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:FilePath">FilePath</a> -> <a href="System-Log.html#t:Priority">Priority</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> (<a href="System-Log-Handler-Simple.html#t:GenericHandler">GenericHandler</a> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a>)</li><li class="src short"><span class="keyword">data</span> <a href="#t:GenericHandler">GenericHandler</a> a = <a href="#v:GenericHandler">GenericHandler</a> {<ul class="subs"><li><a href="#v:priority">priority</a> :: <a href="System-Log.html#t:Priority">Priority</a></li><li><a href="#v:formatter">formatter</a> :: <a href="System-Log-Formatter.html#t:LogFormatter">LogFormatter</a> (<a href="System-Log-Handler-Simple.html#t:GenericHandler">GenericHandler</a> a)</li><li><a href="#v:privData">privData</a> :: a</li><li><a href="#v:writeFunc">writeFunc</a> :: a -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> ()</li><li><a href="#v:closeFunc">closeFunc</a> :: a -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> ()</li></ul>}</li><li class="src short"><a href="#v:verboseStreamHandler">verboseStreamHandler</a> :: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a> -> <a href="System-Log.html#t:Priority">Priority</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> (<a href="System-Log-Handler-Simple.html#t:GenericHandler">GenericHandler</a> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a>)</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:streamHandler" class="def">streamHandler</a> :: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a> -> <a href="System-Log.html#t:Priority">Priority</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> (<a href="System-Log-Handler-Simple.html#t:GenericHandler">GenericHandler</a> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a>)</p><div class="doc"><p>Create a stream log handler. Log messages sent to this handler will
|
||||
be sent to the stream used initially. Note that the <code><a href="System-Log-Handler.html#v:close">close</a></code> method
|
||||
will have no effect on stream handlers; it does not actually close
|
||||
the underlying stream. </p></div></div><div class="top"><p class="src"><a name="v:fileHandler" class="def">fileHandler</a> :: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:FilePath">FilePath</a> -> <a href="System-Log.html#t:Priority">Priority</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> (<a href="System-Log-Handler-Simple.html#t:GenericHandler">GenericHandler</a> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a>)</p><div class="doc"><p>Create a file log handler. Log messages sent to this handler
|
||||
will be sent to the filename specified, which will be opened
|
||||
in Append mode. Calling <code><a href="System-Log-Handler.html#v:close">close</a></code> on the handler will close the file.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:GenericHandler" class="def">GenericHandler</a> a</p><div class="doc"><p>A helper data type. </p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:GenericHandler" class="def">GenericHandler</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:priority" class="def">priority</a> :: <a href="System-Log.html#t:Priority">Priority</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:formatter" class="def">formatter</a> :: <a href="System-Log-Formatter.html#t:LogFormatter">LogFormatter</a> (<a href="System-Log-Handler-Simple.html#t:GenericHandler">GenericHandler</a> a)</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:privData" class="def">privData</a> :: a</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:writeFunc" class="def">writeFunc</a> :: a -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> ()</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:closeFunc" class="def">closeFunc</a> :: a -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> ()</dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:GenericHandler" class="caption collapser" onclick="toggleSection('i:GenericHandler')">Instances</p><div id="section.i:GenericHandler" class="show"><table><tr><td class="src"><a href="System-Log-Handler.html#t:LogHandler">LogHandler</a> (<a href="System-Log-Handler-Simple.html#t:GenericHandler">GenericHandler</a> a)</td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:verboseStreamHandler" class="def">verboseStreamHandler</a> :: <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a> -> <a href="System-Log.html#t:Priority">Priority</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> (<a href="System-Log-Handler-Simple.html#t:GenericHandler">GenericHandler</a> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/GHC-IO-Handle.html#t:Handle">Handle</a>)</p><div class="doc"><p>Like <code><a href="System-Log-Handler-Simple.html#v:streamHandler">streamHandler</a></code>, but note the priority and logger name along
|
||||
with each message. </p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.0</p></div></body></html>
|
File diff suppressed because one or more lines are too long
@@ -0,0 +1,11 @@
|
||||
<!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.Log.Handler</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-Log-Handler.html");};
|
||||
//]]>
|
||||
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">hslogger-1.2.8: Versatile logging framework</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>Copyright (C) 2004-2011 John Goerzen</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>John Goerzen <jgoerzen@complete.org> </td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">System.Log.Handler</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Basic Types</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Definition of log handler support</p><p>For some handlers, check out <a href="System-Log-Handler-Simple.html">System.Log.Handler.Simple</a> and
|
||||
<a href="System-Log-Handler-Syslog.html">System.Log.Handler.Syslog</a>.</p><p>Please see <a href="System-Log-Logger.html">System.Log.Logger</a> for extensive documentation on the
|
||||
logging system.</p><p>Written by John Goerzen, jgoerzen@complete.org</p></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"><span class="keyword">class</span> <a href="#t:LogHandler">LogHandler</a> a <span class="keyword">where</span><ul class="subs"><li><a href="#v:setLevel">setLevel</a> :: a -> <a href="System-Log.html#t:Priority">Priority</a> -> a</li><li><a href="#v:getLevel">getLevel</a> :: a -> <a href="System-Log.html#t:Priority">Priority</a></li><li><a href="#v:setFormatter">setFormatter</a> :: a -> <a href="System-Log-Formatter.html#t:LogFormatter">LogFormatter</a> a -> a</li><li><a href="#v:getFormatter">getFormatter</a> :: a -> <a href="System-Log-Formatter.html#t:LogFormatter">LogFormatter</a> a</li><li><a href="#v:handle">handle</a> :: a -> <a href="System-Log.html#t:LogRecord">LogRecord</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> ()</li><li><a href="#v:emit">emit</a> :: a -> <a href="System-Log.html#t:LogRecord">LogRecord</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> ()</li><li><a href="#v:close">close</a> :: a -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> ()</li></ul></li></ul></div><div id="interface"><h1 id="g:1">Basic Types</h1><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:LogHandler" class="def">LogHandler</a> a <span class="keyword">where</span></p><div class="doc"><p>All log handlers should adhere to this. </p><p>This is the base class for the various log handlers. They should
|
||||
all adhere to this class. </p></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="System-Log-Handler.html#v:setLevel">setLevel</a>, <a href="System-Log-Handler.html#v:getLevel">getLevel</a>, <a href="System-Log-Handler.html#v:setFormatter">setFormatter</a>, <a href="System-Log-Handler.html#v:emit">emit</a>, <a href="System-Log-Handler.html#v:close">close</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:setLevel" class="def">setLevel</a> :: a -> <a href="System-Log.html#t:Priority">Priority</a> -> a</p><div class="doc"><p>Sets the log level. <code><a href="System-Log-Handler.html#v:handle">handle</a></code> will drop
|
||||
items beneath this level.</p></div><p class="src"><a name="v:getLevel" class="def">getLevel</a> :: a -> <a href="System-Log.html#t:Priority">Priority</a></p><div class="doc"><p>Gets the current level.</p></div><p class="src"><a name="v:setFormatter" class="def">setFormatter</a> :: a -> <a href="System-Log-Formatter.html#t:LogFormatter">LogFormatter</a> a -> a</p><div class="doc"><p>Set a log formatter to customize the log format for this Handler</p></div><p class="src"><a name="v:getFormatter" class="def">getFormatter</a> :: a -> <a href="System-Log-Formatter.html#t:LogFormatter">LogFormatter</a> a</p><p class="src"><a name="v:handle" class="def">handle</a> :: a -> <a href="System-Log.html#t:LogRecord">LogRecord</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> ()</p><div class="doc"><p>Logs an event if it meets the requirements
|
||||
given by the most recent call to <code><a href="System-Log-Handler.html#v:setLevel">setLevel</a></code>.</p></div><p class="src"><a name="v:emit" class="def">emit</a> :: a -> <a href="System-Log.html#t:LogRecord">LogRecord</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> ()</p><div class="doc"><p>Forces an event to be logged regardless of
|
||||
the configured level.</p></div><p class="src"><a name="v:close" class="def">close</a> :: a -> <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/System-IO.html#t:IO">IO</a> ()</p><div class="doc"><p>Closes the logging system, causing it to close
|
||||
any open files, etc.</p></div></div><div class="subs instances"><p id="control.i:LogHandler" class="caption collapser" onclick="toggleSection('i:LogHandler')">Instances</p><div id="section.i:LogHandler" class="show"><table><tr><td class="src"><a href="System-Log-Handler.html#t:LogHandler">LogHandler</a> (<a href="System-Log-Handler-Simple.html#t:GenericHandler">GenericHandler</a> a)</td><td class="doc empty"> </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.0</p></div></body></html>
|
File diff suppressed because one or more lines are too long
@@ -0,0 +1,8 @@
|
||||
<!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.Log</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-Log.html");};
|
||||
//]]>
|
||||
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">hslogger-1.2.8: Versatile logging framework</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>Copyright (C) 2004-2011 John Goerzen</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>John Goerzen <jgoerzen@complete.org> </td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">System.Log</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Types</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Haskell Logging Framework</p><p>Written by John Goerzen, jgoerzen@complete.org</p><p>This module defines basic types used for logging.</p><p>Extensive documentation is available in
|
||||
<a href="System-Log-Logger.html">System.Log.Logger</a>.</p></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"><span class="keyword">data</span> <a href="#t:Priority">Priority</a><ul class="subs"><li>= <a href="#v:DEBUG">DEBUG</a></li><li>| <a href="#v:INFO">INFO</a></li><li>| <a href="#v:NOTICE">NOTICE</a></li><li>| <a href="#v:WARNING">WARNING</a></li><li>| <a href="#v:ERROR">ERROR</a></li><li>| <a href="#v:CRITICAL">CRITICAL</a></li><li>| <a href="#v:ALERT">ALERT</a></li><li>| <a href="#v:EMERGENCY">EMERGENCY</a></li></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:LogRecord">LogRecord</a> = (<a href="System-Log.html#t:Priority">Priority</a>, <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a>)</li></ul></div><div id="interface"><h1 id="g:1">Types</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Priority" class="def">Priority</a></p><div class="doc"><p>Priorities are used to define how important a log message is.
|
||||
Users can filter log messages based on priorities.</p><p>These have their roots on the traditional syslog system. The standard
|
||||
definitions are given below, but you are free to interpret them however you
|
||||
like. They are listed here in ascending importance order.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:DEBUG" class="def">DEBUG</a></td><td class="doc"><p>Debug messages</p></td></tr><tr><td class="src"><a name="v:INFO" class="def">INFO</a></td><td class="doc"><p>Information</p></td></tr><tr><td class="src"><a name="v:NOTICE" class="def">NOTICE</a></td><td class="doc"><p>Normal runtime conditions</p></td></tr><tr><td class="src"><a name="v:WARNING" class="def">WARNING</a></td><td class="doc"><p>General Warnings</p></td></tr><tr><td class="src"><a name="v:ERROR" class="def">ERROR</a></td><td class="doc"><p>General Errors</p></td></tr><tr><td class="src"><a name="v:CRITICAL" class="def">CRITICAL</a></td><td class="doc"><p>Severe situations</p></td></tr><tr><td class="src"><a name="v:ALERT" class="def">ALERT</a></td><td class="doc"><p>Take immediate action</p></td></tr><tr><td class="src"><a name="v:EMERGENCY" class="def">EMERGENCY</a></td><td class="doc"><p>System is unusable</p></td></tr></table></div><div class="subs instances"><p id="control.i:Priority" class="caption collapser" onclick="toggleSection('i:Priority')">Instances</p><div id="section.i:Priority" class="show"><table><tr><td class="src"><a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-Eq.html#t:Eq">Eq</a> <a href="System-Log.html#t:Priority">Priority</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-Ord.html#t:Ord">Ord</a> <a href="System-Log.html#t:Priority">Priority</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Text-Read.html#t:Read">Read</a> <a href="System-Log.html#t:Priority">Priority</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Text-Show.html#t:Show">Show</a> <a href="System-Log.html#t:Priority">Priority</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:LogRecord" class="def">LogRecord</a> = (<a href="System-Log.html#t:Priority">Priority</a>, <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-String.html#t:String">String</a>)</p><div class="doc"><p>Internal type of log records </p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.0</p></div></body></html>
|
File diff suppressed because one or more lines are too long
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html
|
||||
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title></title>
|
||||
<script src="haddock-util.js" type="text/javascript"></script>
|
||||
<script type="text/javascript"><!--
|
||||
/*
|
||||
|
||||
The synopsis frame needs to be updated using javascript, so we hide
|
||||
it by default and only show it if javascript is enabled.
|
||||
|
||||
TODO: provide some means to disable it.
|
||||
*/
|
||||
function load() {
|
||||
var d = document.getElementById("inner-fs");
|
||||
d.rows = "50%,50%";
|
||||
postReframe();
|
||||
}
|
||||
--></script>
|
||||
</head>
|
||||
<frameset id="outer-fs" cols="25%,75%" onload="load()">
|
||||
<frameset id="inner-fs" rows="100%,0%">
|
||||
<frame src="index-frames.html" name="modules" />
|
||||
<frame src="" name="synopsis" />
|
||||
</frameset>
|
||||
<frame src="index.html" name="main" />
|
||||
</frameset>
|
||||
</html>
|
@@ -0,0 +1,344 @@
|
||||
// Haddock JavaScript utilities
|
||||
|
||||
var rspace = /\s\s+/g,
|
||||
rtrim = /^\s+|\s+$/g;
|
||||
|
||||
function spaced(s) { return (" " + s + " ").replace(rspace, " "); }
|
||||
function trim(s) { return s.replace(rtrim, ""); }
|
||||
|
||||
function hasClass(elem, value) {
|
||||
var className = spaced(elem.className || "");
|
||||
return className.indexOf( " " + value + " " ) >= 0;
|
||||
}
|
||||
|
||||
function addClass(elem, value) {
|
||||
var className = spaced(elem.className || "");
|
||||
if ( className.indexOf( " " + value + " " ) < 0 ) {
|
||||
elem.className = trim(className + " " + value);
|
||||
}
|
||||
}
|
||||
|
||||
function removeClass(elem, value) {
|
||||
var className = spaced(elem.className || "");
|
||||
className = className.replace(" " + value + " ", " ");
|
||||
elem.className = trim(className);
|
||||
}
|
||||
|
||||
function toggleClass(elem, valueOn, valueOff, bool) {
|
||||
if (bool == null) { bool = ! hasClass(elem, valueOn); }
|
||||
if (bool) {
|
||||
removeClass(elem, valueOff);
|
||||
addClass(elem, valueOn);
|
||||
}
|
||||
else {
|
||||
removeClass(elem, valueOn);
|
||||
addClass(elem, valueOff);
|
||||
}
|
||||
return bool;
|
||||
}
|
||||
|
||||
|
||||
function makeClassToggle(valueOn, valueOff)
|
||||
{
|
||||
return function(elem, bool) {
|
||||
return toggleClass(elem, valueOn, valueOff, bool);
|
||||
}
|
||||
}
|
||||
|
||||
toggleShow = makeClassToggle("show", "hide");
|
||||
toggleCollapser = makeClassToggle("collapser", "expander");
|
||||
|
||||
function toggleSection(id)
|
||||
{
|
||||
var b = toggleShow(document.getElementById("section." + id));
|
||||
toggleCollapser(document.getElementById("control." + id), b);
|
||||
rememberCollapsed(id, b);
|
||||
return b;
|
||||
}
|
||||
|
||||
var collapsed = {};
|
||||
function rememberCollapsed(id, b)
|
||||
{
|
||||
if(b)
|
||||
delete collapsed[id]
|
||||
else
|
||||
collapsed[id] = null;
|
||||
|
||||
var sections = [];
|
||||
for(var i in collapsed)
|
||||
{
|
||||
if(collapsed.hasOwnProperty(i))
|
||||
sections.push(i);
|
||||
}
|
||||
// cookie specific to this page; don't use setCookie which sets path=/
|
||||
document.cookie = "collapsed=" + escape(sections.join('+'));
|
||||
}
|
||||
|
||||
function restoreCollapsed()
|
||||
{
|
||||
var cookie = getCookie("collapsed");
|
||||
if(!cookie)
|
||||
return;
|
||||
|
||||
var ids = cookie.split('+');
|
||||
for(var i in ids)
|
||||
{
|
||||
if(document.getElementById("section." + ids[i]))
|
||||
toggleSection(ids[i]);
|
||||
}
|
||||
}
|
||||
|
||||
function setCookie(name, value) {
|
||||
document.cookie = name + "=" + escape(value) + ";path=/;";
|
||||
}
|
||||
|
||||
function clearCookie(name) {
|
||||
document.cookie = name + "=;path=/;expires=Thu, 01-Jan-1970 00:00:01 GMT;";
|
||||
}
|
||||
|
||||
function getCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) {
|
||||
return unescape(c.substring(nameEQ.length,c.length));
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
var max_results = 75; // 50 is not enough to search for map in the base libraries
|
||||
var shown_range = null;
|
||||
var last_search = null;
|
||||
|
||||
function quick_search()
|
||||
{
|
||||
perform_search(false);
|
||||
}
|
||||
|
||||
function full_search()
|
||||
{
|
||||
perform_search(true);
|
||||
}
|
||||
|
||||
|
||||
function perform_search(full)
|
||||
{
|
||||
var text = document.getElementById("searchbox").value.toLowerCase();
|
||||
if (text == last_search && !full) return;
|
||||
last_search = text;
|
||||
|
||||
var table = document.getElementById("indexlist");
|
||||
var status = document.getElementById("searchmsg");
|
||||
var children = table.firstChild.childNodes;
|
||||
|
||||
// first figure out the first node with the prefix
|
||||
var first = bisect(-1);
|
||||
var last = (first == -1 ? -1 : bisect(1));
|
||||
|
||||
if (first == -1)
|
||||
{
|
||||
table.className = "";
|
||||
status.innerHTML = "No results found, displaying all";
|
||||
}
|
||||
else if (first == 0 && last == children.length - 1)
|
||||
{
|
||||
table.className = "";
|
||||
status.innerHTML = "";
|
||||
}
|
||||
else if (last - first >= max_results && !full)
|
||||
{
|
||||
table.className = "";
|
||||
status.innerHTML = "More than " + max_results + ", press Search to display";
|
||||
}
|
||||
else
|
||||
{
|
||||
// decide what you need to clear/show
|
||||
if (shown_range)
|
||||
setclass(shown_range[0], shown_range[1], "indexrow");
|
||||
setclass(first, last, "indexshow");
|
||||
shown_range = [first, last];
|
||||
table.className = "indexsearch";
|
||||
status.innerHTML = "";
|
||||
}
|
||||
|
||||
|
||||
function setclass(first, last, status)
|
||||
{
|
||||
for (var i = first; i <= last; i++)
|
||||
{
|
||||
children[i].className = status;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// do a binary search, treating 0 as ...
|
||||
// return either -1 (no 0's found) or location of most far match
|
||||
function bisect(dir)
|
||||
{
|
||||
var first = 0, finish = children.length - 1;
|
||||
var mid, success = false;
|
||||
|
||||
while (finish - first > 3)
|
||||
{
|
||||
mid = Math.floor((finish + first) / 2);
|
||||
|
||||
var i = checkitem(mid);
|
||||
if (i == 0) i = dir;
|
||||
if (i == -1)
|
||||
finish = mid;
|
||||
else
|
||||
first = mid;
|
||||
}
|
||||
var a = (dir == 1 ? first : finish);
|
||||
var b = (dir == 1 ? finish : first);
|
||||
for (var i = b; i != a - dir; i -= dir)
|
||||
{
|
||||
if (checkitem(i) == 0) return i;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
// from an index, decide what the result is
|
||||
// 0 = match, -1 is lower, 1 is higher
|
||||
function checkitem(i)
|
||||
{
|
||||
var s = getitem(i).toLowerCase().substr(0, text.length);
|
||||
if (s == text) return 0;
|
||||
else return (s > text ? -1 : 1);
|
||||
}
|
||||
|
||||
|
||||
// from an index, get its string
|
||||
// this abstracts over alternates
|
||||
function getitem(i)
|
||||
{
|
||||
for ( ; i >= 0; i--)
|
||||
{
|
||||
var s = children[i].firstChild.firstChild.data;
|
||||
if (s.indexOf(' ') == -1)
|
||||
return s;
|
||||
}
|
||||
return ""; // should never be reached
|
||||
}
|
||||
}
|
||||
|
||||
function setSynopsis(filename) {
|
||||
if (parent.window.synopsis) {
|
||||
if (parent.window.synopsis.location.replace) {
|
||||
// In Firefox this avoids adding the change to the history.
|
||||
parent.window.synopsis.location.replace(filename);
|
||||
} else {
|
||||
parent.window.synopsis.location = filename;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function addMenuItem(html) {
|
||||
var menu = document.getElementById("page-menu");
|
||||
if (menu) {
|
||||
var btn = menu.firstChild.cloneNode(false);
|
||||
btn.innerHTML = html;
|
||||
menu.appendChild(btn);
|
||||
}
|
||||
}
|
||||
|
||||
function adjustForFrames() {
|
||||
var bodyCls;
|
||||
|
||||
if (parent.location.href == window.location.href) {
|
||||
// not in frames, so add Frames button
|
||||
addMenuItem("<a href='#' onclick='reframe();return true;'>Frames</a>");
|
||||
bodyCls = "no-frame";
|
||||
}
|
||||
else {
|
||||
bodyCls = "in-frame";
|
||||
}
|
||||
addClass(document.body, bodyCls);
|
||||
}
|
||||
|
||||
function reframe() {
|
||||
setCookie("haddock-reframe", document.URL);
|
||||
window.location = "frames.html";
|
||||
}
|
||||
|
||||
function postReframe() {
|
||||
var s = getCookie("haddock-reframe");
|
||||
if (s) {
|
||||
parent.window.main.location = s;
|
||||
clearCookie("haddock-reframe");
|
||||
}
|
||||
}
|
||||
|
||||
function styles() {
|
||||
var i, a, es = document.getElementsByTagName("link"), rs = [];
|
||||
for (i = 0; a = es[i]; i++) {
|
||||
if(a.rel.indexOf("style") != -1 && a.title) {
|
||||
rs.push(a);
|
||||
}
|
||||
}
|
||||
return rs;
|
||||
}
|
||||
|
||||
function addStyleMenu() {
|
||||
var as = styles();
|
||||
var i, a, btns = "";
|
||||
for(i=0; a = as[i]; i++) {
|
||||
btns += "<li><a href='#' onclick=\"setActiveStyleSheet('"
|
||||
+ a.title + "'); return false;\">"
|
||||
+ a.title + "</a></li>"
|
||||
}
|
||||
if (as.length > 1) {
|
||||
var h = "<div id='style-menu-holder'>"
|
||||
+ "<a href='#' onclick='styleMenu(); return false;'>Style ▾</a>"
|
||||
+ "<ul id='style-menu' class='hide'>" + btns + "</ul>"
|
||||
+ "</div>";
|
||||
addMenuItem(h);
|
||||
}
|
||||
}
|
||||
|
||||
function setActiveStyleSheet(title) {
|
||||
var as = styles();
|
||||
var i, a, found;
|
||||
for(i=0; a = as[i]; i++) {
|
||||
a.disabled = true;
|
||||
// need to do this always, some browsers are edge triggered
|
||||
if(a.title == title) {
|
||||
found = a;
|
||||
}
|
||||
}
|
||||
if (found) {
|
||||
found.disabled = false;
|
||||
setCookie("haddock-style", title);
|
||||
}
|
||||
else {
|
||||
as[0].disabled = false;
|
||||
clearCookie("haddock-style");
|
||||
}
|
||||
styleMenu(false);
|
||||
}
|
||||
|
||||
function resetStyle() {
|
||||
var s = getCookie("haddock-style");
|
||||
if (s) setActiveStyleSheet(s);
|
||||
}
|
||||
|
||||
|
||||
function styleMenu(show) {
|
||||
var m = document.getElementById('style-menu');
|
||||
if (m) toggleShow(m, show);
|
||||
}
|
||||
|
||||
|
||||
function pageLoad() {
|
||||
addStyleMenu();
|
||||
adjustForFrames();
|
||||
resetStyle();
|
||||
restoreCollapsed();
|
||||
}
|
||||
|
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,4 @@
|
||||
<!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>hslogger-1.2.8: Versatile logging framework</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();};
|
||||
//]]>
|
||||
</script></head><body id="mini"><div id="module-list"><p class="caption">Modules</p><ul><li class="module"><a href="System-Log.html" target="main">System.Log</a></li><li class="module"><a href="System-Log-Formatter.html" target="main">System.Log.Formatter</a></li><li class="module"><a href="System-Log-Handler.html" target="main">System.Log.Handler</a></li><li class="module"><a href="System-Log-Handler-Growl.html" target="main">System.Log.Handler.Growl</a></li><li class="module"><a href="System-Log-Handler-Log4jXML.html" target="main">System.Log.Handler.Log4jXML</a></li><li class="module"><a href="System-Log-Handler-Simple.html" target="main">System.Log.Handler.Simple</a></li><li class="module"><a href="System-Log-Handler-Syslog.html" target="main">System.Log.Handler.Syslog</a></li><li class="module"><a href="System-Log-Logger.html" target="main">System.Log.Logger</a></li></ul></div></body></html>
|
@@ -0,0 +1,8 @@
|
||||
<!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>hslogger-1.2.8: Versatile logging framework</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();};
|
||||
//]]>
|
||||
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">hslogger-1.2.8: Versatile logging framework</p></div><div id="content"><div id="description"><h1>hslogger-1.2.8: Versatile logging framework</h1><div class="doc"><p>hslogger is a logging framework for Haskell, roughly similar to
|
||||
Python's logging module.</p><p>hslogger lets each log message have a priority and source be associated
|
||||
with it. The programmer can then define global handlers that route
|
||||
or filter messages based on the priority and source. hslogger also
|
||||
has a syslog handler built in.</p></div></div><div id="module-list"><p class="caption">Modules</p><ul><li><span id="control.n.1" class="module collapser" onclick="toggleSection('n.1')">System</span><ul id="section.n.1" class="show"><li><span class="module"><span id="control.n.1.1" class="collapser" onclick="toggleSection('n.1.1')"> </span><a href="System-Log.html">System.Log</a></span><ul id="section.n.1.1" class="show"><li><span class="module"><a href="System-Log-Formatter.html">System.Log.Formatter</a></span></li><li><span class="module"><span id="control.n.1.1.2" class="collapser" onclick="toggleSection('n.1.1.2')"> </span><a href="System-Log-Handler.html">System.Log.Handler</a></span><ul id="section.n.1.1.2" class="show"><li><span class="module"><a href="System-Log-Handler-Growl.html">System.Log.Handler.Growl</a></span></li><li><span class="module"><a href="System-Log-Handler-Log4jXML.html">System.Log.Handler.Log4jXML</a></span></li><li><span class="module"><a href="System-Log-Handler-Simple.html">System.Log.Handler.Simple</a></span></li><li><span class="module"><a href="System-Log-Handler-Syslog.html">System.Log.Handler.Syslog</a></span></li></ul></li><li><span class="module"><a href="System-Log-Logger.html">System.Log.Logger</a></span></li></ul></li></ul></li></ul></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.0</p></div></body></html>
|
@@ -0,0 +1,4 @@
|
||||
<!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.Log.Formatter</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();};
|
||||
//]]>
|
||||
</script></head><body id="mini"><div id="module-header"><p class="caption">System.Log.Formatter</p></div><div id="interface"><div class="top"><p class="src"><span class="keyword">type</span> <a href="System-Log-Formatter.html#t:LogFormatter" target="main">LogFormatter</a> a</p></div><div class="top"><p class="src"><a href="System-Log-Formatter.html#v:nullFormatter" target="main">nullFormatter</a></p></div><div class="top"><p class="src"><a href="System-Log-Formatter.html#v:simpleLogFormatter" target="main">simpleLogFormatter</a></p></div><div class="top"><p class="src"><a href="System-Log-Formatter.html#v:tfLogFormatter" target="main">tfLogFormatter</a></p></div><div class="top"><p class="src"><a href="System-Log-Formatter.html#v:varFormatter" target="main">varFormatter</a></p></div></div></body></html>
|
@@ -0,0 +1,4 @@
|
||||
<!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.Log.Handler.Growl</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();};
|
||||
//]]>
|
||||
</script></head><body id="mini"><div id="module-header"><p class="caption">System.Log.Handler.Growl</p></div><div id="interface"><div class="top"><p class="src"><a href="System-Log-Handler-Growl.html#v:addTarget" target="main">addTarget</a></p></div><div class="top"><p class="src"><a href="System-Log-Handler-Growl.html#v:growlHandler" target="main">growlHandler</a></p></div></div></body></html>
|
@@ -0,0 +1,4 @@
|
||||
<!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.Log.Handler.Log4jXML</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();};
|
||||
//]]>
|
||||
</script></head><body id="mini"><div id="module-header"><p class="caption">System.Log.Handler.Log4jXML</p></div><div id="interface"><h1>Introduction</h1><h2>Handlers with hslogger levels </h2><div class="top"><p class="src"><a href="System-Log-Handler-Log4jXML.html#v:log4jStreamHandler" target="main">log4jStreamHandler</a></p></div><div class="top"><p class="src"><a href="System-Log-Handler-Log4jXML.html#v:log4jFileHandler" target="main">log4jFileHandler</a></p></div><h2>Handlers with log4j levels</h2><div class="top"><p class="src"><a href="System-Log-Handler-Log4jXML.html#v:log4jStreamHandler-39-" target="main">log4jStreamHandler'</a></p></div><div class="top"><p class="src"><a href="System-Log-Handler-Log4jXML.html#v:log4jFileHandler-39-" target="main">log4jFileHandler'</a></p></div><h1>Java install process</h1><h1>Chainsaw setup</h1><h1>Example usage</h1><h1>References</h1></div></body></html>
|
@@ -0,0 +1,4 @@
|
||||
<!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.Log.Handler.Simple</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();};
|
||||
//]]>
|
||||
</script></head><body id="mini"><div id="module-header"><p class="caption">System.Log.Handler.Simple</p></div><div id="interface"><div class="top"><p class="src"><a href="System-Log-Handler-Simple.html#v:streamHandler" target="main">streamHandler</a></p></div><div class="top"><p class="src"><a href="System-Log-Handler-Simple.html#v:fileHandler" target="main">fileHandler</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="System-Log-Handler-Simple.html#t:GenericHandler" target="main">GenericHandler</a> a</p></div><div class="top"><p class="src"><a href="System-Log-Handler-Simple.html#v:verboseStreamHandler" target="main">verboseStreamHandler</a></p></div></div></body></html>
|
@@ -0,0 +1,4 @@
|
||||
<!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.Log.Handler.Syslog</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();};
|
||||
//]]>
|
||||
</script></head><body id="mini"><div id="module-header"><p class="caption">System.Log.Handler.Syslog</p></div><div id="interface"><h1>Handler Initialization</h1><div class="top"><p class="src"><a href="System-Log-Handler-Syslog.html#v:openlog" target="main">openlog</a></p></div><h1>Advanced handler initialization</h1><div class="top"><p class="src"><a href="System-Log-Handler-Syslog.html#v:openlog_local" target="main">openlog_local</a></p></div><div class="top"><p class="src"><a href="System-Log-Handler-Syslog.html#v:openlog_remote" target="main">openlog_remote</a></p></div><div class="top"><p class="src"><a href="System-Log-Handler-Syslog.html#v:openlog_generic" target="main">openlog_generic</a></p></div><h1>Data Types</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="System-Log-Handler-Syslog.html#t:Facility" target="main">Facility</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="System-Log-Handler-Syslog.html#t:Option" target="main">Option</a></p></div></div></body></html>
|
@@ -0,0 +1,4 @@
|
||||
<!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.Log.Handler</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();};
|
||||
//]]>
|
||||
</script></head><body id="mini"><div id="module-header"><p class="caption">System.Log.Handler</p></div><div id="interface"><h1>Basic Types</h1><div class="top"><p class="src"><span class="keyword">class</span> <a href="System-Log-Handler.html#t:LogHandler" target="main">LogHandler</a> a</p></div></div></body></html>
|
@@ -0,0 +1,4 @@
|
||||
<!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.Log.Logger</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();};
|
||||
//]]>
|
||||
</script></head><body id="mini"><div id="module-header"><p class="caption">System.Log.Logger</p></div><div id="interface"><h1>Basic Types</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="System-Log-Logger.html#t:Logger" target="main">Logger</a></p></div><h2>Re-Exported from System.Log</h2><div class="top"><p class="src"><span class="keyword">data</span> <a href="System-Log-Logger.html#t:Priority" target="main">Priority</a></p></div><h1>Logging Messages</h1><h2>Basic</h2><div class="top"><p class="src"><a href="System-Log-Logger.html#v:logM" target="main">logM</a></p></div><h2>Utility Functions</h2><div class="top"><p class="src"><a href="System-Log-Logger.html#v:debugM" target="main">debugM</a></p></div><div class="top"><p class="src"><a href="System-Log-Logger.html#v:infoM" target="main">infoM</a></p></div><div class="top"><p class="src"><a href="System-Log-Logger.html#v:noticeM" target="main">noticeM</a></p></div><div class="top"><p class="src"><a href="System-Log-Logger.html#v:warningM" target="main">warningM</a></p></div><div class="top"><p class="src"><a href="System-Log-Logger.html#v:errorM" target="main">errorM</a></p></div><div class="top"><p class="src"><a href="System-Log-Logger.html#v:criticalM" target="main">criticalM</a></p></div><div class="top"><p class="src"><a href="System-Log-Logger.html#v:alertM" target="main">alertM</a></p></div><div class="top"><p class="src"><a href="System-Log-Logger.html#v:emergencyM" target="main">emergencyM</a></p></div><div class="top"><p class="src"><a href="System-Log-Logger.html#v:removeAllHandlers" target="main">removeAllHandlers</a></p></div><div class="top"><p class="src"><a href="System-Log-Logger.html#v:traplogging" target="main">traplogging</a></p></div><h2>Logging to a particular Logger by object</h2><div class="top"><p class="src"><a href="System-Log-Logger.html#v:logL" target="main">logL</a></p></div><h1>Logger Manipulation</h1><h2>Finding / Creating Loggers</h2><div class="top"><p class="src"><a href="System-Log-Logger.html#v:getLogger" target="main">getLogger</a></p></div><div class="top"><p class="src"><a href="System-Log-Logger.html#v:getRootLogger" target="main">getRootLogger</a></p></div><div class="top"><p class="src"><a href="System-Log-Logger.html#v:rootLoggerName" target="main">rootLoggerName</a></p></div><h2>Modifying Loggers</h2><div class="top"><p class="src"><a href="System-Log-Logger.html#v:addHandler" target="main">addHandler</a></p></div><div class="top"><p class="src"><a href="System-Log-Logger.html#v:removeHandler" target="main">removeHandler</a></p></div><div class="top"><p class="src"><a href="System-Log-Logger.html#v:setHandlers" target="main">setHandlers</a></p></div><div class="top"><p class="src"><a href="System-Log-Logger.html#v:getLevel" target="main">getLevel</a></p></div><div class="top"><p class="src"><a href="System-Log-Logger.html#v:setLevel" target="main">setLevel</a></p></div><div class="top"><p class="src"><a href="System-Log-Logger.html#v:clearLevel" target="main">clearLevel</a></p></div><h2>Saving Your Changes</h2><div class="top"><p class="src"><a href="System-Log-Logger.html#v:saveGlobalLogger" target="main">saveGlobalLogger</a></p></div><div class="top"><p class="src"><a href="System-Log-Logger.html#v:updateGlobalLogger" target="main">updateGlobalLogger</a></p></div></div></body></html>
|
@@ -0,0 +1,4 @@
|
||||
<!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.Log</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();};
|
||||
//]]>
|
||||
</script></head><body id="mini"><div id="module-header"><p class="caption">System.Log</p></div><div id="interface"><h1>Types</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="System-Log.html#t:Priority" target="main">Priority</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a href="System-Log.html#t:LogRecord" target="main">LogRecord</a></p></div></div></body></html>
|
Binary file not shown.
After Width: | Height: | Size: 56 B |
@@ -0,0 +1,587 @@
|
||||
/* @group Fundamentals */
|
||||
|
||||
* { margin: 0; padding: 0 }
|
||||
|
||||
/* Is this portable? */
|
||||
html {
|
||||
background-color: white;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
background: white;
|
||||
color: black;
|
||||
text-align: left;
|
||||
min-height: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0.8em 0;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
margin: 0.8em 0 0.8em 2em;
|
||||
}
|
||||
|
||||
dl {
|
||||
margin: 0.8em 0;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-weight: bold;
|
||||
}
|
||||
dd {
|
||||
margin-left: 2em;
|
||||
}
|
||||
|
||||
a { text-decoration: none; }
|
||||
a[href]:link { color: rgb(196,69,29); }
|
||||
a[href]:visited { color: rgb(171,105,84); }
|
||||
a[href]:hover { text-decoration:underline; }
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group Fonts & Sizes */
|
||||
|
||||
/* Basic technique & IE workarounds from YUI 3
|
||||
For reasons, see:
|
||||
http://yui.yahooapis.com/3.1.1/build/cssfonts/fonts.css
|
||||
*/
|
||||
|
||||
body {
|
||||
font:13px/1.4 sans-serif;
|
||||
*font-size:small; /* for IE */
|
||||
*font:x-small; /* for IE in quirks mode */
|
||||
}
|
||||
|
||||
h1 { font-size: 146.5%; /* 19pt */ }
|
||||
h2 { font-size: 131%; /* 17pt */ }
|
||||
h3 { font-size: 116%; /* 15pt */ }
|
||||
h4 { font-size: 100%; /* 13pt */ }
|
||||
h5 { font-size: 100%; /* 13pt */ }
|
||||
|
||||
select, input, button, textarea {
|
||||
font:99% sans-serif;
|
||||
}
|
||||
|
||||
table {
|
||||
font-size:inherit;
|
||||
font:100%;
|
||||
}
|
||||
|
||||
pre, code, kbd, samp, tt, .src {
|
||||
font-family:monospace;
|
||||
*font-size:108%;
|
||||
line-height: 124%;
|
||||
}
|
||||
|
||||
.links, .link {
|
||||
font-size: 85%; /* 11pt */
|
||||
}
|
||||
|
||||
#module-header .caption {
|
||||
font-size: 182%; /* 24pt */
|
||||
}
|
||||
|
||||
.info {
|
||||
font-size: 85%; /* 11pt */
|
||||
}
|
||||
|
||||
#table-of-contents, #synopsis {
|
||||
/* font-size: 85%; /* 11pt */
|
||||
}
|
||||
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group Common */
|
||||
|
||||
.caption, h1, h2, h3, h4, h5, h6 {
|
||||
font-weight: bold;
|
||||
color: rgb(78,98,114);
|
||||
margin: 0.8em 0 0.4em;
|
||||
}
|
||||
|
||||
* + h1, * + h2, * + h3, * + h4, * + h5, * + h6 {
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
h1 + h2, h2 + h3, h3 + h4, h4 + h5, h5 + h6 {
|
||||
margin-top: inherit;
|
||||
}
|
||||
|
||||
ul.links {
|
||||
list-style: none;
|
||||
text-align: left;
|
||||
float: right;
|
||||
display: inline-table;
|
||||
margin: 0 0 0 1em;
|
||||
}
|
||||
|
||||
ul.links li {
|
||||
display: inline;
|
||||
border-left: 1px solid #d5d5d5;
|
||||
white-space: nowrap;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
ul.links li a {
|
||||
padding: 0.2em 0.5em;
|
||||
}
|
||||
|
||||
.hide { display: none; }
|
||||
.show { display: inherit; }
|
||||
.clear { clear: both; }
|
||||
|
||||
.collapser {
|
||||
background-image: url(minus.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.expander {
|
||||
background-image: url(plus.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
p.caption.collapser,
|
||||
p.caption.expander {
|
||||
background-position: 0 0.4em;
|
||||
}
|
||||
.collapser, .expander {
|
||||
padding-left: 14px;
|
||||
margin-left: -14px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 0.25em;
|
||||
margin: 0.8em 0;
|
||||
background: rgb(229,237,244);
|
||||
overflow: auto;
|
||||
border-bottom: 0.25em solid white;
|
||||
/* white border adds some space below the box to compensate
|
||||
for visual extra space that paragraphs have between baseline
|
||||
and the bounding box */
|
||||
}
|
||||
|
||||
.src {
|
||||
background: #f0f0f0;
|
||||
padding: 0.2em 0.5em;
|
||||
}
|
||||
|
||||
.keyword { font-weight: normal; }
|
||||
.def { font-weight: bold; }
|
||||
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group Page Structure */
|
||||
|
||||
#content {
|
||||
margin: 0 auto;
|
||||
padding: 0 2em 6em;
|
||||
}
|
||||
|
||||
#package-header {
|
||||
background: rgb(41,56,69);
|
||||
border-top: 5px solid rgb(78,98,114);
|
||||
color: #ddd;
|
||||
padding: 0.2em;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#package-header .caption {
|
||||
background: url(hslogo-16.png) no-repeat 0em;
|
||||
color: white;
|
||||
margin: 0 2em;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
padding-left: 2em;
|
||||
}
|
||||
|
||||
#package-header a:link, #package-header a:visited { color: white; }
|
||||
#package-header a:hover { background: rgb(78,98,114); }
|
||||
|
||||
#module-header .caption {
|
||||
color: rgb(78,98,114);
|
||||
font-weight: bold;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
table.info {
|
||||
float: right;
|
||||
padding: 0.5em 1em;
|
||||
border: 1px solid #ddd;
|
||||
color: rgb(78,98,114);
|
||||
background-color: #fff;
|
||||
max-width: 40%;
|
||||
border-spacing: 0;
|
||||
position: relative;
|
||||
top: -0.5em;
|
||||
margin: 0 0 0 2em;
|
||||
}
|
||||
|
||||
.info th {
|
||||
padding: 0 1em 0 0;
|
||||
}
|
||||
|
||||
div#style-menu-holder {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
#style-menu {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
overflow: visible;
|
||||
background: #374c5e;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
right: 0;
|
||||
padding: 0;
|
||||
top: 1.25em;
|
||||
}
|
||||
|
||||
#style-menu li {
|
||||
display: list-item;
|
||||
border-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: #000;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
#style-menu li + li {
|
||||
border-top: 1px solid #919191;
|
||||
}
|
||||
|
||||
#style-menu a {
|
||||
width: 6em;
|
||||
padding: 3px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#footer {
|
||||
background: #ddd;
|
||||
border-top: 1px solid #aaa;
|
||||
padding: 0.5em 0;
|
||||
color: #666;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 3em;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group Front Matter */
|
||||
|
||||
#table-of-contents {
|
||||
float: right;
|
||||
clear: right;
|
||||
background: #faf9dc;
|
||||
border: 1px solid #d8d7ad;
|
||||
padding: 0.5em 1em;
|
||||
max-width: 20em;
|
||||
margin: 0.5em 0 1em 1em;
|
||||
}
|
||||
|
||||
#table-of-contents .caption {
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#table-of-contents ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#table-of-contents ul ul {
|
||||
margin-left: 2em;
|
||||
}
|
||||
|
||||
#description .caption {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#synopsis {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.no-frame #synopsis {
|
||||
display: block;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
height: 80%;
|
||||
top: 10%;
|
||||
padding: 0;
|
||||
max-width: 75%;
|
||||
}
|
||||
|
||||
#synopsis .caption {
|
||||
float: left;
|
||||
width: 29px;
|
||||
color: rgba(255,255,255,0);
|
||||
height: 110px;
|
||||
margin: 0;
|
||||
font-size: 1px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#synopsis p.caption.collapser {
|
||||
background: url(synopsis.png) no-repeat -64px -8px;
|
||||
}
|
||||
|
||||
#synopsis p.caption.expander {
|
||||
background: url(synopsis.png) no-repeat 0px -8px;
|
||||
}
|
||||
|
||||
#synopsis ul {
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
padding: 0.5em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#synopsis ul ul {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#synopsis ul,
|
||||
#synopsis ul li.src {
|
||||
background-color: #faf9dc;
|
||||
white-space: nowrap;
|
||||
list-style: none;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group Main Content */
|
||||
|
||||
#interface div.top { margin: 2em 0; }
|
||||
#interface h1 + div.top,
|
||||
#interface h2 + div.top,
|
||||
#interface h3 + div.top,
|
||||
#interface h4 + div.top,
|
||||
#interface h5 + div.top {
|
||||
margin-top: 1em;
|
||||
}
|
||||
#interface p.src .link {
|
||||
float: right;
|
||||
color: #919191;
|
||||
border-left: 1px solid #919191;
|
||||
background: #f0f0f0;
|
||||
padding: 0 0.5em 0.2em;
|
||||
margin: 0 -0.5em 0 0.5em;
|
||||
}
|
||||
|
||||
#interface td.src .link {
|
||||
float: right;
|
||||
color: #919191;
|
||||
border-left: 1px solid #919191;
|
||||
background: #f0f0f0;
|
||||
padding: 0 0.5em 0.2em;
|
||||
margin: 0 -0.5em 0 0.5em;
|
||||
}
|
||||
|
||||
#interface span.fixity {
|
||||
color: #919191;
|
||||
border-left: 1px solid #919191;
|
||||
padding: 0.2em 0.5em 0.2em 0.5em;
|
||||
margin: 0 -1em 0 1em;
|
||||
}
|
||||
|
||||
#interface span.rightedge {
|
||||
border-left: 1px solid #919191;
|
||||
padding: 0.2em 0 0.2em 0;
|
||||
margin: 0 0 0 1em;
|
||||
}
|
||||
|
||||
#interface table { border-spacing: 2px; }
|
||||
#interface td {
|
||||
vertical-align: top;
|
||||
padding-left: 0.5em;
|
||||
}
|
||||
#interface td.src {
|
||||
white-space: nowrap;
|
||||
}
|
||||
#interface td.doc p {
|
||||
margin: 0;
|
||||
}
|
||||
#interface td.doc p + p {
|
||||
margin-top: 0.8em;
|
||||
}
|
||||
|
||||
.subs dl {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.subs dt {
|
||||
float: left;
|
||||
clear: left;
|
||||
display: block;
|
||||
margin: 1px 0;
|
||||
}
|
||||
|
||||
.subs dd {
|
||||
float: right;
|
||||
width: 90%;
|
||||
display: block;
|
||||
padding-left: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.subs dd.empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.subs dd p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Render short-style data instances */
|
||||
.inst ul {
|
||||
height: 100%;
|
||||
padding: 0.5em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.inst, .inst li {
|
||||
list-style: none;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
.top p.src {
|
||||
border-top: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.subs, .doc {
|
||||
/* use this selector for one level of indent */
|
||||
padding-left: 2em;
|
||||
}
|
||||
|
||||
.warning {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.arguments {
|
||||
margin-top: -0.4em;
|
||||
}
|
||||
.arguments .caption {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.fields { padding-left: 1em; }
|
||||
|
||||
.fields .caption { display: none; }
|
||||
|
||||
.fields p { margin: 0 0; }
|
||||
|
||||
/* this seems bulky to me
|
||||
.methods, .constructors {
|
||||
background: #f8f8f8;
|
||||
border: 1px solid #eee;
|
||||
}
|
||||
*/
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group Auxillary Pages */
|
||||
|
||||
|
||||
.extension-list {
|
||||
list-style-type: none;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
#mini {
|
||||
margin: 0 auto;
|
||||
padding: 0 1em 1em;
|
||||
}
|
||||
|
||||
#mini > * {
|
||||
font-size: 93%; /* 12pt */
|
||||
}
|
||||
|
||||
#mini #module-list .caption,
|
||||
#mini #module-header .caption {
|
||||
font-size: 125%; /* 15pt */
|
||||
}
|
||||
|
||||
#mini #interface h1,
|
||||
#mini #interface h2,
|
||||
#mini #interface h3,
|
||||
#mini #interface h4 {
|
||||
font-size: 109%; /* 13pt */
|
||||
margin: 1em 0 0;
|
||||
}
|
||||
|
||||
#mini #interface .top,
|
||||
#mini #interface .src {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#mini #module-list ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#alphabet ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0.5em 0 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#alphabet li {
|
||||
display: inline;
|
||||
margin: 0 0.25em;
|
||||
}
|
||||
|
||||
#alphabet a {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#index .caption,
|
||||
#module-list .caption { font-size: 131%; /* 17pt */ }
|
||||
|
||||
#index table {
|
||||
margin-left: 2em;
|
||||
}
|
||||
|
||||
#index .src {
|
||||
font-weight: bold;
|
||||
}
|
||||
#index .alt {
|
||||
font-size: 77%; /* 10pt */
|
||||
font-style: italic;
|
||||
padding-left: 2em;
|
||||
}
|
||||
|
||||
#index td + td {
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
#module-list ul {
|
||||
list-style: none;
|
||||
margin: 0 0 0 2em;
|
||||
}
|
||||
|
||||
#module-list li {
|
||||
clear: right;
|
||||
}
|
||||
|
||||
#module-list span.collapser,
|
||||
#module-list span.expander {
|
||||
background-position: 0 0.3em;
|
||||
}
|
||||
|
||||
#module-list .package {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* @end */
|
Binary file not shown.
After Width: | Height: | Size: 59 B |
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Reference in New Issue
Block a user