Skip to content

[source]

Screen#

A logger that displays log messages to the standard output.

Parameters#

# Name Default Type Description
1 channel '' string The channel name that appears on each line.
2 timestampFormat 'Y-m-d H:i:s' string The format of the timestamp.

Example#

use Rubix\ML\Loggers\Screen;

$logger = new Screen('mlp', 'Y-m-d H:i:s');