bluetree-service/simple-log

0.7.2.0 2018-08-13 16:35 UTC

This package is auto-updated.

Last update: 2021-09-11 07:26:49 UTC


README

Latest Stable Version Total Downloads License

Builds
Travis Scrutinizer
Build Status Build Status
Coverage
Coveralls Scrutinizer
Coverage Status Code Coverage
Quality
Code Climate Scrutinizer Sensio Labs
Code Climate Scrutinizer Code Quality SensioLabsInsight
Code Intelligence Status

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 5.5 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