iwalkalone/logger

Yet another logger library

v1.0.2 2025-09-06 17:14 UTC

This package is auto-updated.

Last update: 2025-09-06 17:19:46 UTC


README

Yet another logger library

Install

composer require iwalkalone/logger

Usage

$logger = new \iwalkalone\Logger();
$logger->consoleLog($message, $color, $timestamp, $endline);

Parameters:

  • $message - message that will be displayed in console
  • $color - color of the message displayed (defaults to console's default color)
  • $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)