bluetree-service/simple-log

Class Log libraries

Installs: 763

Dependents: 4

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 1

pkg:composer/bluetree-service/simple-log

0.10.0.0 2026-02-07 18:32 UTC

README

Latest Stable Version Total Downloads License

Build Status Coverage Status Build Status Code Coverage

Bugs Code Smells Coverage Reliability Rating Security Rating Maintainability Rating Vulnerabilities

SonarQube Cloud

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