PHP Class Pommo_Log, poMMo

Show file Open project: soonick/poMMo

Public Properties

Property Type Description
$_errors
$_escape
$_log
$_messages
$_verbosity

Public Methods

Method Description
Add ( &$msgs, $level, $timestamp, &$stack )
Get ( $limit, $clear, &$stack )
Pommo_Log ( $verbosity = 3 ) htmlspecialchars escaping (disabled by default)
addErr ( $messages, $level = 3, $timestamp = FALSE )
addMsg ( $messages, $level = 3, $timestamp = FALSE )
clear ( )
getAll ( $limit = FALSE, $clear = TRUE )
getErr ( $limit = FALSE, $clear = TRUE )
getMsg ( $limit = FALSE, $clear = TRUE )
isErr ( )
isMsg ( )
toggleEscaping ( $toggle = TRUE )
toggleLogging ( $toggle = TRUE )

Method Details

Add() public method

public Add ( &$msgs, $level, $timestamp, &$stack )

Get() public method

public Get ( $limit, $clear, &$stack )

Pommo_Log() public method

htmlspecialchars escaping (disabled by default)
public Pommo_Log ( $verbosity = 3 )

addErr() public method

public addErr ( $messages, $level = 3, $timestamp = FALSE )

addMsg() public method

public addMsg ( $messages, $level = 3, $timestamp = FALSE )

clear() public method

public clear ( )

getAll() public method

public getAll ( $limit = FALSE, $clear = TRUE )

getErr() public method

public getErr ( $limit = FALSE, $clear = TRUE )

getMsg() public method

public getMsg ( $limit = FALSE, $clear = TRUE )

isErr() public method

public isErr ( )

isMsg() public method

public isMsg ( )

toggleEscaping() public method

public toggleEscaping ( $toggle = TRUE )

toggleLogging() public method

public toggleLogging ( $toggle = TRUE )

Property Details

$_errors public property

public $_errors

$_escape public property

public $_escape

$_log public property

public $_log

$_messages public property

public $_messages

$_verbosity public property

public $_verbosity