class Logger

Logger.

Constants

DEBUG

INFO

WARNING

ERROR

EXCEPTION

CRITICAL

Properties

int $emailSnooze
callable $mailer
string $directory
string|array $email

Methods

void
log($message, $priority = NULL)

Logs message or exception to file and sends email notification.

static void
defaultMailer($message, $email)

Default mailer.

Details

at line 46
void log($message, $priority = NULL)

Logs message or exception to file and sends email notification.

Parameters

$message
$priority

Return Value

void

at line 78
static void defaultMailer($message, $email)

internal  
 

Default mailer.

Parameters

$message
$email

Return Value

void