Documentation

SimpleLogger
in package
implements Logger

Interfaces, Classes, Traits and Enums

Logger

Table of Contents

alert()  : void
Action must be taken immediately
critical()  : void
Critical conditions
debug()  : void
Detailed debug information.
emergency()  : void
System is unusable
error()  : void
Runtime errors that do not require immediate action but should typically be logged and monitored.
info()  : void
Interesting events.
log()  : void
Logs with an arbitrary level.
logException()  : void
Logs a Throwable object
notice()  : void
Normal but significant events.
warning()  : void
Exceptional occurrences that are not errors.

Methods

alert()

Action must be taken immediately

public alert(mixed $message) : void
Parameters
$message : mixed
Return values
void

critical()

Critical conditions

public critical(mixed $message) : void
Parameters
$message : mixed
Return values
void

debug()

Detailed debug information.

public debug(mixed $message) : void
Parameters
$message : mixed
Return values
void

emergency()

System is unusable

public emergency(mixed $message) : void
Parameters
$message : mixed
Return values
void

error()

Runtime errors that do not require immediate action but should typically be logged and monitored.

public error(mixed $message) : void
Parameters
$message : mixed
Return values
void

info()

Interesting events.

public info(mixed $message) : void
Parameters
$message : mixed
Return values
void

log()

Logs with an arbitrary level.

public log(mixed $level, mixed $message) : void
Parameters
$level : mixed
$message : mixed
Return values
void

logException()

Logs a Throwable object

public logException(Throwable $e[, mixed $trace = null ]) : void
Parameters
$e : Throwable
$trace : mixed = null
Return values
void

notice()

Normal but significant events.

public notice(mixed $message) : void
Parameters
$message : mixed
Return values
void

warning()

Exceptional occurrences that are not errors.

public warning(mixed $message) : void

Example: Use of deprecated APIs, poor use of an API, undesirable things that are not necessarily wrong.

Parameters
$message : mixed
Return values
void

Search results