Open Sencillo  2015.107
Long live the simplicity of PHP
 All Data Structures Namespaces Functions Pages
log Class Reference
Inheritance diagram for log:
unitTest

Public Member Functions

 __construct ($path='', $file='log.txt', $maxLine=100, $useFile=true, $mysql=null)
 
 saveToLog ($data)
 
 getLog ()
 
 vd ($var)
 

Protected Attributes

 $name
 
 $file
 
 $path
 
 $current
 
 $store =array()
 
 $maxLine =0
 
 $useFile
 

Detailed Description

Definition at line 11 of file test.tool.framework.php.

Constructor & Destructor Documentation

__construct (   $path = '',
  $file = 'log.txt',
  $maxLine = 100,
  $useFile = true,
  $mysql = null 
)
final
Parameters
string$path
string$file
number$maxLine
bool$useFile

Definition at line 27 of file test.tool.framework.php.

Member Function Documentation

getLog ( )

Load from log

Returns
array

Definition at line 100 of file test.tool.framework.php.

saveToLog (   $data)
final

Save to log

Parameters
string$data

Definition at line 41 of file test.tool.framework.php.

vd (   $var)

Get formated var_dump to string

Definition at line 109 of file test.tool.framework.php.


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