\pm_Log

Class pm_Log Intended to log various data.

Summary

Methods
Properties
Constants
err()
warn()
info()
debug()
backtrace()
vardump()
log()
getLogName()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A

Methods

err()

err(string|\Exception  $message) 

Error: error conditions

Parameters

string|\Exception $message

warn()

warn(string|\Exception  $message) 

Warning: warning conditions

Parameters

string|\Exception $message

info()

info(string|\Exception  $message) 

Informational: informational messages

Parameters

string|\Exception $message

debug()

debug(string|\Exception  $message) 

Debug: debug messages

Example: "Task ID is $taskId"

Parameters

string|\Exception $message

backtrace()

backtrace(string  $message) 

Debug: debug messages with backtrace

Parameters

string $message

vardump()

vardump(mixed  $var, string  $message = '') 

Debug: debug messages with var_dump

Parameters

mixed $var
string $message

log()

log(integer  $priority, string|\Exception  $message) 

Parameters

integer $priority
string|\Exception $message

getLogName()

getLogName() : string

Returns

string