Documentation

Logger
in package

Logger class

Table of Contents

Properties

$instance  : mixed

Methods

error()  : void
Error log
get()  : Logger
Get logger instance
info()  : void
Info log
warning()  : void
Warning log

Properties

$instance

private static mixed $instance

Methods

error()

Error log

public static error(string $msg[, array<string|int, mixed> $context = [] ]) : void
Parameters
$msg : string
$context : array<string|int, mixed> = []

get()

Get logger instance

public static get() : Logger
Return values
Logger

info()

Info log

public static info(string $msg[, array<string|int, mixed> $context = [] ]) : void
Parameters
$msg : string
$context : array<string|int, mixed> = []

warning()

Warning log

public static warning(string $msg[, array<string|int, mixed> $context = [] ]) : void
Parameters
$msg : string
$context : array<string|int, mixed> = []

        
On this page

Search results