Documentation

TraceInterface extends ServiceInterface

An interface to send exceptions and messages.

Table of Contents

Methods

configure()  : void
Configure the service.
logException()  : bool
Report an error.
logMessage()  : bool
Report a message.

Methods

configure()

Configure the service.

public static configure(array<string|int, mixed> $config) : void
Parameters
$config : array<string|int, mixed>

logException()

Report an error.

public static logException(Throwable $exception[, array<string|int, mixed> $meta = [] ]) : bool
Parameters
$exception : Throwable
$meta : array<string|int, mixed> = []
Return values
bool

logMessage()

Report a message.

public static logMessage(string $message[, array<string|int, mixed> $meta = [] ]) : bool
Parameters
$message : string
$meta : array<string|int, mixed> = []
Return values
bool
On this page

Search results