Documentation

Debuger
in package

Debuger basic class.

Table of Contents

$debugBar  : Debuger
addLogs()  : mixed
consoleIsActive()  : bool
Checking console is active.
getBacktrace()  : string
Generates a backtrace.
getDebugBar()  : DebugBar
Get Debuger instance.
init()  : mixed
Initiating debugging.
initConsole()  : Debuger
Initiating debugging console.
isDebugBar()  : bool
Checking is active debugging.

Properties

$debugBar

protected static Debuger $debugBar

Methods

addLogs()

public static addLogs(mixed $message, mixed $level, mixed $traces) : mixed
Parameters
$message : mixed
$level : mixed
$traces : mixed
Return values
mixed

consoleIsActive()

Checking console is active.

public static consoleIsActive() : bool
Return values
bool

getBacktrace()

Generates a backtrace.

public static getBacktrace([int $minLevel = 1 ], int $maxLevel[, string $sep = '#' ]) : string
Parameters
$minLevel : int = 1
$maxLevel : int
$sep : string = '#'
Return values
string

init()

Initiating debugging.

public static init() : mixed
Return values
mixed

initConsole()

Initiating debugging console.

public static initConsole() : Debuger
Return values
Debuger

isDebugBar()

Checking is active debugging.

public static isDebugBar() : bool
Return values
bool

        

Search results