Log
in package
Class Log A really simple logging class that writes flat data to a file.
Tags
Table of Contents
- $dateFormat : mixed
- $handle : mixed
- __construct() : mixed
- dateFormat() : mixed
- getDateFormat() : mixed
- log() : mixed
- Writes info to the log
Properties
$dateFormat
private
mixed
$dateFormat
$handle
private
mixed
$handle
Methods
__construct()
public
__construct(mixed $file[, mixed $mode = "a" ]) : mixed
Parameters
- $file : mixed
- $mode : mixed = "a"
Return values
mixed —dateFormat()
public
dateFormat(mixed $format) : mixed
Parameters
- $format : mixed
Return values
mixed —getDateFormat()
public
getDateFormat() : mixed
Return values
mixed —log()
Writes info to the log
public
log(mixed $entries) : mixed
Parameters
- $entries : mixed