CSV Search
PHP: logger.php

Send comments on this topic.

Description

handles logging.

Contents

constructor

destructor

write

private function write($str) {
Write a string in the log file

Parameters

$str - the string to write

log

public function log(
$mode,
$str) {
Append something to the log

Parameters

$mode - the logging mode, a String.
$str - the string to write

Created with TwinText