iwalkalone / logger
Installs: 3 690
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
This package is auto-updated.
Last update: 2024-09-19 16:28:00 UTC
README
Class to log to console.
It has support for Codeception Debug class (autodetected in constructor).
Usage
$logger = new \iwalkalone69\Logger();
$logger->consoleLog($message, $color, $timestamp, $endline);
Parameters
$message - message that will be displayed in console
$color - color of the message displayed (default green)
$timestamp - it defines if timestamp is displayed before the message (default true)
$endline - it defines if adding endline to the end of message (default true)