Documentation

Log
in package

FinalYes

Table of Contents

Properties

$logger  : LoggerInterface|null

Methods

debug()  : void
error()  : void
info()  : void
init()  : void
log()  : void

Properties

$logger

private static LoggerInterface|null $logger = null

Methods

debug()

public static debug(string $msg) : void
Parameters
$msg : string

error()

public static error(string $msg) : void
Parameters
$msg : string

info()

public static info(string $msg) : void
Parameters
$msg : string

init()

public static init(null|LoggerInterface $logger) : void
Parameters
$logger : null|LoggerInterface

A PSR-3 compliant logger. If null, deactivate logging.

log()

public static log(string $msg, string $level) : void
Parameters
$msg : string
$level : string
On this page

Search results