volkerschulz / cli-logger
Logger for PHP CLI
0.2.1
2023-11-18 18:29 UTC
Requires
- php: >=8.0.0
This package is auto-updated.
Last update: 2024-10-18 23:36:25 UTC
README
Output errors, warnings, success or debug messages to ANSI terminal (color coded) or to dedicated log files (plain text). Automatically add timestamps and / or prefixes.
Installation
The recommended way to install CliLogger is through Composer.
composer require volkerschulz/cli-logger
Usage
Minimal:
use volkerschulz\CliLogger as log; log::error('Error message'); log::success('Success message');
Security
If you discover a security vulnerability within this package, please send an email to security@volkerschulz.de. All security vulnerabilities will be promptly addressed. Please do not disclose security-related issues publicly until a fix has been announced.
License
This package is made available under the MIT License (MIT). Please see License File for more information.