pm_Log
in package
Class pm_Log Intended to log various data.
Tags
Table of Contents
- backtrace() : void
- Debug: debug messages with backtrace
- debug() : void
- Debug: debug messages
- err() : void
- Error: error conditions
- getLogName() : string
- info() : void
- Informational: informational messages
- log() : void
- vardump() : void
- Debug: debug messages with var_dump
- warn() : void
- Warning: warning conditions
Methods
backtrace()
Debug: debug messages with backtrace
public
static backtrace(string $message) : void
Parameters
- $message : string
Return values
void —debug()
Debug: debug messages
public
static debug(string|Exception $message) : void
Example: "Task ID is $taskId"
Parameters
- $message : string|Exception
Tags
Return values
void —err()
Error: error conditions
public
static err(string|Exception $message) : void
Parameters
- $message : string|Exception
Return values
void —getLogName()
public
static getLogName() : string
Return values
string —info()
Informational: informational messages
public
static info(string|Exception $message) : void
Parameters
- $message : string|Exception
Return values
void —log()
public
static log(int $priority, string|Exception $message) : void
Parameters
- $priority : int
- $message : string|Exception
Tags
Return values
void —vardump()
Debug: debug messages with var_dump
public
static vardump(mixed $var[, string $message = '' ]) : void
Parameters
- $var : mixed
- $message : string = ''
Return values
void —warn()
Warning: warning conditions
public
static warn(string|Exception $message) : void
Parameters
- $message : string|Exception