Fat-Free Framework  3.2.1  Overview Class List Hierarchy
Public Member Functions | Protected Attributes | List of all members
Log Class Reference

Custom logger. More...

Public Member Functions

 write ($text, $format='r')
 
 erase ()
 
 __construct ($file)
 

Protected Attributes

 $file
 File name.
 

Detailed Description

Custom logger.

Constructor & Destructor Documentation

Log::__construct (   $file)

Instantiate class

Parameters
$filestring

Member Function Documentation

Log::erase ( )

Erase log

Returns
NULL
Log::write (   $text,
  $format = 'r' 
)

Write specified text to log file

Returns
string
Parameters
$textstring
$formatstring

The documentation for this class was generated from the following file: