Arikaim CMS

LoggerTrait

Logger trait

Table of Contents

Properties

$logger  : LoggerInterface|null
Logger ref

Methods

getLogger()  : LoggerInterface|null
Get logger
LogError()  : bool
Log error message
Loginfo()  : bool
Log info messsage
setLogger()  : void
Set logger

Properties

Methods

LogError()

Log error message

public LogError(string $message[, array<string|int, mixed> $context = [] ]) : bool
Parameters
$message : string
$context : array<string|int, mixed> = []
Return values
bool

Loginfo()

Log info messsage

public Loginfo(string $message[, array<string|int, mixed> $context = [] ]) : bool
Parameters
$message : string
$context : array<string|int, mixed> = []
Return values
bool

        
On this page

Search results