claretnnamocha / php-logger
A simple PHP logger used to ouput data to server terminal
Installs: 111
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/claretnnamocha/php-logger
Requires
- php: >=5.3.4
This package is auto-updated.
Last update: 2025-12-05 21:01:22 UTC
README
A simple PHP logger used to ouput data to server terminal inspired by the console module in javascript
Features
- Colored output depending on the type of output (debug= default color, info= lightgreen foreground and lightgray background)
- Highlighting reserved return values eg(true, false and null) with the color blue
Examples
Debug
use Alpha\Console\Console; Console::log('Hello World!');
Output
Info
use Alpha\Console\Console; Console::info('Some informative message!');
Output
Error
use Alpha\Console\Console; Console::error(new Exception());


