PHP Log

AbstractLog extends Logger
in package
implements LogInterface

AbstractYes

This is a simple Log implementation that other Log can inherit from.

Table of Contents

Interfaces

LogInterface
Describes Log interface.

Methods

backtrace()  : static
Return an instance with backtrace level.
exception()  : static
Return an instance with exception level.
arguments()  : string
Cast trace arguments into string.

Methods

backtrace()

Return an instance with backtrace level.

public backtrace(string $Message[, int $Limit = 10 ]) : static
Parameters
$Message : string
$Limit : int = 10
Return values
static

exception()

Return an instance with exception level.

public exception(Exception $Exception) : static
Parameters
$Exception : Exception
Return values
static

arguments()

Cast trace arguments into string.

protected arguments(array<string|int, mixed> $arguments) : string
Parameters
$arguments : array<string|int, mixed>
Return values
string
Loading…
On this page

Search results