Travis | Scrutinizer |
---|---|
Coveralls | Scrutinizer |
---|---|
Code Climate | Scrutinizer | SymfonyInsight |
---|---|---|
Simply way to create log message written directly into file.
Save simple log message into default log directory:
LogStatic::makeLog('Some log message');
To set different log directory use that command:
LogStatic::setOption('log_path', '/var/log/simple-log');
Save simple log message into default log directory with level error
:
LogStatic::log('error', 'Some log message');
More information in:
Change log
To use packages you can just download package and pace it in your code.
{
"require": {
"bluetree-service/simple-log": "version_number"
}
}
- Namespaces - each library use namespaces
- PSR-2 - PSR-2 Coding Style
- PSR-3 - PSR-3 Logger Interface
- PSR-4 - PSR-4 Autoloading Standard
- Composer - Composer usage to load/update libraries
- PHP 7.3 or higher
All release version changes:
Change log
This bundle is released under the Apache license.
Apache license