LocationLoggerMock
extends LocationLogger
in package
Table of Contents
- DEFAULT_BACKTRACE_LEVEL = 2
- DEFAULT_LOCATION_PREFIX = ' - '
- DEFAULT_LOCATION_SUFFIX = ' - '
- $locationPrefix : mixed
- $locationSuffix : mixed
- debug() : mixed
- error() : mixed
- getLocationPrefix() : mixed
- getLocationSuffix() : mixed
- getName() : mixed
- info() : mixed
- isDebugEnabled() : mixed
- isErrorEnabled() : mixed
- isInfoEnabled() : mixed
- isTraceEnabled() : mixed
- isWarnEnabled() : mixed
- setLocationPrefix() : mixed
- setLocationSuffix() : mixed
- trace() : mixed
- warn() : mixed
- getLocation() : mixed
- Get caller class name.
- getShortLocation() : mixed
Constants
DEFAULT_BACKTRACE_LEVEL
public
mixed
DEFAULT_BACKTRACE_LEVEL
= 2
DEFAULT_LOCATION_PREFIX
public
mixed
DEFAULT_LOCATION_PREFIX
= ' - '
DEFAULT_LOCATION_SUFFIX
public
mixed
DEFAULT_LOCATION_SUFFIX
= ' - '
Properties
$locationPrefix
private
mixed
$locationPrefix
= self::DEFAULT_LOCATION_PREFIX
$locationSuffix
private
mixed
$locationSuffix
= self::DEFAULT_LOCATION_SUFFIX
Methods
debug()
public
debug(mixed $format[, mixed $params = array() ][, Exception $e = null ]) : mixed
Parameters
- $format : mixed
- $params : mixed = array()
- $e : Exception = null
Return values
mixed —error()
public
error(mixed $format[, mixed $params = array() ][, Exception $e = null ]) : mixed
Parameters
- $format : mixed
- $params : mixed = array()
- $e : Exception = null
Return values
mixed —getLocationPrefix()
public
getLocationPrefix() : mixed
Return values
mixed —getLocationSuffix()
public
getLocationSuffix() : mixed
Return values
mixed —getName()
public
getName() : mixed
Return values
mixed —info()
public
info(mixed $format[, mixed $params = array() ][, Exception $e = null ]) : mixed
Parameters
- $format : mixed
- $params : mixed = array()
- $e : Exception = null
Return values
mixed —isDebugEnabled()
public
isDebugEnabled() : mixed
Return values
mixed —isErrorEnabled()
public
isErrorEnabled() : mixed
Return values
mixed —isInfoEnabled()
public
isInfoEnabled() : mixed
Return values
mixed —isTraceEnabled()
public
isTraceEnabled() : mixed
Return values
mixed —isWarnEnabled()
public
isWarnEnabled() : mixed
Return values
mixed —setLocationPrefix()
public
setLocationPrefix(mixed $prefix) : mixed
Parameters
- $prefix : mixed
Return values
mixed —setLocationSuffix()
public
setLocationSuffix(mixed $suffix) : mixed
Parameters
- $suffix : mixed
Return values
mixed —trace()
public
trace(mixed $format[, mixed $params = array() ][, Exception $e = null ]) : mixed
Parameters
- $format : mixed
- $params : mixed = array()
- $e : Exception = null
Return values
mixed —warn()
public
warn(mixed $format[, mixed $params = array() ][, Exception $e = null ]) : mixed
Parameters
- $format : mixed
- $params : mixed = array()
- $e : Exception = null
Return values
mixed —getLocation()
Get caller class name.
protected
getLocation([int $backtraceLevel = self::DEFAULT_BACKTRACE_LEVEL ]) : mixed
Parameters
- $backtraceLevel : int = self::DEFAULT_BACKTRACE_LEVEL
Return values
mixed —getShortLocation()
protected
getShortLocation([mixed $backtraceLevel = self::DEFAULT_BACKTRACE_LEVEL ]) : mixed
Parameters
- $backtraceLevel : mixed = self::DEFAULT_BACKTRACE_LEVEL