Размер файла: 5.97Kb
<!-- HTML header for doxygen 1.8.5-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Fat-Free Framework: Log Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Fat-Free Framework
 <span id="projectnumber">3.2.2</span>
 <span class="menu"><a href="index.html">Overview</a> <a href="annotated.html">Class List</a> <a href="hierarchy.html">Hierarchy</a></span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pro-attribs">Protected Attributes</a> |
<a href="classLog-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Log Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Custom logger.
<a href="classLog.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a84fb88371f3609f344ae7098087e64e6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#a84fb88371f3609f344ae7098087e64e6">write</a> ($text, $format='r')</td></tr>
<tr class="separator:a84fb88371f3609f344ae7098087e64e6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a912082188cf9d8fd4264b4f7289ae8fc"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#a912082188cf9d8fd4264b4f7289ae8fc">erase</a> ()</td></tr>
<tr class="separator:a912082188cf9d8fd4264b4f7289ae8fc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5611e82e2cac434d86cc8bfbf1e5316f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#a5611e82e2cac434d86cc8bfbf1e5316f">__construct</a> ($file)</td></tr>
<tr class="separator:a5611e82e2cac434d86cc8bfbf1e5316f"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a664def0d5e76f12d5110f7da0acc6c23"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a664def0d5e76f12d5110f7da0acc6c23"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#a664def0d5e76f12d5110f7da0acc6c23">$file</a></td></tr>
<tr class="memdesc:a664def0d5e76f12d5110f7da0acc6c23"><td class="mdescLeft"> </td><td class="mdescRight">File name. <br/></td></tr>
<tr class="separator:a664def0d5e76f12d5110f7da0acc6c23"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Custom logger. </p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a5611e82e2cac434d86cc8bfbf1e5316f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Log::__construct </td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname"><em>$file</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Instantiate class </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">$file</td><td>string </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a912082188cf9d8fd4264b4f7289ae8fc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Log::erase </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Erase log </p>
<dl class="section return"><dt>Returns</dt><dd>NULL </dd></dl>
</div>
</div>
<a class="anchor" id="a84fb88371f3609f344ae7098087e64e6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Log::write </td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname"><em>$text</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"> </td>
<td class="paramname"><em>$format</em> = <code>'r'</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Write specified text to log file </p>
<dl class="section return"><dt>Returns</dt><dd>string </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">$text</td><td>string </td></tr>
<tr><td class="paramname">$format</td><td>string </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>log.php</li>
</ul>
</div><!-- contents -->