rene-roscher / soft-logger
Simple logger for many constructions
Installs: 25
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/rene-roscher/soft-logger
Requires
- php: ^7.4
- illuminate/support: *
Requires (Dev)
- orchestra/testbench: ^4.0
- phpunit/phpunit: ^8.0
README
This package can you using for many constructions.
Installation
You can install the package via composer:
composer require rene-roscher/soft-logger
Usage
\RServices\SoftLogger\SoftLoggerFacade::log($content = 'content', $file = 'logger.log', $type = 'ERROR'); or using the helper function __log($content = 'content', $file = 'logger.log', $type = 'ERROR');
Available helper functions:
- __log()
- __debug()
- __info()
- __error()
- log_path()
Todo
- Events
License
The MIT License (MIT). Please see License File for more information.