Documentation

ScriptLogger
in package

The ScriptLogger class is a wrapper that allows logging and terminal output within CLI scripts.

Table of Contents

Constants

ALLOWED_LEVELS  = ['debug', 'info', 'notice', 'warning', 'error', 'critical', 'emergency', 'alert']

Methods

__call()  : mixed
Wrapper around Monologs log method and outputs the message.
__construct()  : mixed

Constants

ALLOWED_LEVELS

public mixed ALLOWED_LEVELS = ['debug', 'info', 'notice', 'warning', 'error', 'critical', 'emergency', 'alert']

Methods

__call()

Wrapper around Monologs log method and outputs the message.

public __call(mixed $level, mixed $args) : mixed
Parameters
$level : mixed
$args : mixed

__construct()

public __construct(mixed $name, mixed $path) : mixed
Parameters
$name : mixed
$path : mixed

        
On this page

Search results