<!-- saved from url=(0026)http://www.naturaldocs.org -->
<divid=Content><divclass="CClass"><divclass=CTopicid=MainTopic><h1class=CTitle><aname="mxLog"></a>mxLog</h1><divclass=CBody><p>Logging facility.</p><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SMain"><tdclass=SEntry><ahref="#mxLog">mxLog</a></td><tdclass=SDescription>Logging facility.</td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxLog.Variables">Variables</a></td><tdclass=SDescription></td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxLog.level_fine"id=link1onMouseOver="ShowTip(event, 'tt1', 'link1')"onMouseOut="HideTip('tt1')">level_fine</a></td><tdclass=SDescription>Specifies the fine logging level.</td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxLog.level_debug"id=link2onMouseOver="ShowTip(event, 'tt2', 'link2')"onMouseOut="HideTip('tt2')">level_debug</a></td><tdclass=SDescription>Specifies the debug logging level.</td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxLog.level_info"id=link3onMouseOver="ShowTip(event, 'tt3', 'link3')"onMouseOut="HideTip('tt3')">level_info</a></td><tdclass=SDescription>Specifies the info logging level.</td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxLog.level_warn"id=link4onMouseOver="ShowTip(event, 'tt4', 'link4')"onMouseOut="HideTip('tt4')">level_warn</a></td><tdclass=SDescription>Specifies the warn logging level.</td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxLog.level_error"id=link5onMouseOver="ShowTip(event, 'tt5', 'link5')"onMouseOut="HideTip('tt5')">level_error</a></td><tdclass=SDescription>Specifies the error logging level.</td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxLog.current"id=link6onMouseOver="ShowTip(event, 'tt6', 'link6')"onMouseOut="HideTip('tt6')">current</a></td><tdclass=SDescription>Default is true.</td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxLog.tab"id=link7onMouseOver="ShowTip(event, 'tt7', 'link7')"onMouseOut="HideTip('tt7')">tab</a></td><tdclass=SDescription>Default is true.</td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxLog.logfiles"id=link8onMouseOver="ShowTip(event, 'tt8', 'link8')"onMouseOut="HideTip('tt8')">logfiles</a></td><tdclass=SDescription>Holds the array of logfiles.</td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxLog.printLog"id=link9onMouseOver="ShowTip(event, 'tt9', 'link9')"onMouseOut="HideTip('tt9')">printLog</a></td><tdclass=SDescription>Specifies if the log should be printed out.</td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxLog.Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxLog.addLogfile"id=link10onMouseOver="ShowTip(event, 'tt10', 'link10')"onMouseOut="HideTip('tt10')">addLogfile</a></td><tdclass=SDescription>Adds a file for logging.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#mxLog.enter"id=link11onMouseOver="ShowTip(event, 'tt11', 'link11')"onMouseOut="HideTip('tt11')">enter</a></td><tdclass=SDescription>Logs a method entry.</td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxLog.leave"id=link12onMouseOver="ShowTip(event, 'tt12', 'link12')"onMouseOut="HideTip('tt12')">leave</a></td><tdclass=SDescription>Logs a method exit.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#mxLog.fine"id=link13onMouseOver="ShowTip(event, 'tt13', 'link13')"onMouseOut="HideTip('tt13')">fine</a></td><tdclass=SDescription>Logs a fine trace.</td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxLog.debug"id=link14onMouseOver="ShowTip(event, 'tt14', 'link14')"onMouseOut="HideTip('tt14')">debug</a></td><tdclass=SDescription>Logs a debug trace.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#mxLog.info"id=link15onMouseOver="ShowT
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxLog.level_fine"></a>level_fine</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $level_fine</td></tr></table></blockquote><p>Specifies the fine logging level.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxLog.level_debug"></a>level_debug</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $level_debug</td></tr></table></blockquote><p>Specifies the debug logging level.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxLog.level_info"></a>level_info</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $level_info</td></tr></table></blockquote><p>Specifies the info logging level.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxLog.level_warn"></a>level_warn</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $level_warn</td></tr></table></blockquote><p>Specifies the warn logging level.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxLog.level_error"></a>level_error</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $level_error</td></tr></table></blockquote><p>Specifies the error logging level.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxLog.current"></a>current</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $current</td></tr></table></blockquote><p>Default is true.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxLog.tab"></a>tab</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $tab</td></tr></table></blockquote><p>Default is true.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxLog.logfiles"></a>logfiles</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $logfiles</td></tr></table></blockquote><p>Holds the array of logfiles.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxLog.printLog"></a>printLog</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $printLog</td></tr></table></blockquote><p>Specifies if the log should be printed out.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxLog.addLogfile"></a>addLogfile</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function addLogfile(</td><tdclass=PParameternowrap>$filename</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds a file for logging.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxLog.enter"></a>enter</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function enter(</td><tdclass=PParameternowrap>$method,</td><tdclass=PDefaultValuePrefix> </td><tdclass=PDefaultValuewidth=100%></td></tr><tr><td></td><tdclass=PParameternowrap>$text</td><tdclass=PDefaultValuePrefix> = </td><tdclass=PDefaultValuewidth=100%>""</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Logs a method entry.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxLog.leave"></a>leave</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function leave(</td><tdclass=PParameternowrap>$text</td><tdclass=PDefaultValuePrefix> = </td><tdclass=PDefaultValuewidth=100%>""</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Logs a method exit.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxLog.fine"></a>fine</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function fine(</td><tdclass=PParameternowrap>$text</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Logs a fine trace.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxLog.debug"></a>debug</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function debug(</td><tdclass=PParameternowrap>$text</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Logs a debug trace.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxLog.info"></a>info</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function info(</td><tdclass=PParameternowrap>$text</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Logs an info trace.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxLog.warn"></a>warn</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function warn(</td><tdclass=PParameternowrap>$text</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Logs a warn trace.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxLog.error"></a>error</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function error(</td><tdclass=PParameternowrap>$text</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Logs an error trace.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxLog.writeln"></a>writeln</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function writeln(</td><tdclass=PParameternowrap>$text</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Writes a line with a linefeed to the log.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxLog.write"></a>write</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function write(</td><tdclass=PParameternowrap>$text</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Writes a line to the log.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxLog.close"></a>close</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>static function close()</td></tr></table></blockquote><p>Closes all open logfiles.</p></div></div></div>
</div><!--Content-->
<divid=Footer><ahref="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
<divclass=CToolTipid="tt1"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $level_fine</td></tr></table></blockquote>Specifies the fine logging level.</div></div><divclass=CToolTipid="tt2"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $level_debug</td></tr></table></blockquote>Specifies the debug logging level.</div></div><divclass=CToolTipid="tt3"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $level_info</td></tr></table></blockquote>Specifies the info logging level.</div></div><divclass=CToolTipid="tt4"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $level_warn</td></tr></table></blockquote>Specifies the warn logging level.</div></div><divclass=CToolTipid="tt5"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $level_error</td></tr></table></blockquote>Specifies the error logging level.</div></div><divclass=CToolTipid="tt6"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $current</td></tr></table></blockquote>Default is true.</div></div><divclass=CToolTipid="tt7"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $tab</td></tr></table></blockquote>Default is true.</div></div><divclass=CToolTipid="tt8"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $logfiles</td></tr></table></blockquote>Holds the array of logfiles.</div></div><divclass=CToolTipid="tt9"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>public static $printLog</td></tr></table></blockquote>Specifies if the log should be printed out.</div></div><divclass=CToolTipid="tt10"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function addLogfile(</td><tdclass=PParameternowrap>$filename</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Adds a file for logging.</div></div><divclass=CToolTipid="tt11"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function enter(</td><tdclass=PParameternowrap>$method,</td><tdclass=PDefaultValuePrefix> </td><tdclass=PDefaultValuewidth=100%></td></tr><tr><td></td><tdclass=PParameternowrap>$text</td><tdclass=PDefaultValuePrefix> = </td><tdclass=PDefaultValuewidth=100%>""</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Logs a method entry.</div></div><divclass=CToolTipid="tt12"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function leave(</td><tdclass=PParameternowrap>$text</td><tdclass=PDefaultValuePrefix> = </td><tdclass=PDefaultValuewidth=100%>""</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Logs a method exit.</div></div><divclass=CToolTipid="tt13"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function fine(</td><tdclass=PParameternowrap>$text</td><tdclass=PAfterParametersnowrap>)</td></tr></table