bluetree-service/simple-log

0.9.0.1 2021-11-23 20:40 UTC

README

Latest Stable Version Total Downloads License

Builds
Coverage
Quality

Simply way to create log message written directly into file.

Usage

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');

Usage PSR-3

Save simple log message into default log directory with level error:

LogStatic::log('error', 'Some log message');

More information in:
Change log

Install via Composer

To use packages you can just download package and pace it in your code.

{
    "require": {
        "bluetree-service/simple-log": "version_number"
    }
}

Project description

Used conventions

  • 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

Requirements

  • PHP 7.3 or higher

Change log

All release version changes:
Change log

License

This bundle is released under the Apache license.
Apache license

Travis Information

Travis CI Build Info