PHPackages                             bluetree-service/simple-log - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. bluetree-service/simple-log

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

bluetree-service/simple-log
===========================

Class Log libraries

0.10.0.0(3mo ago)0833[1 issues](https://github.com/bluetree-service/simple-log/issues)4Apache-2.0PHPPHP &gt;= 7.3

Since May 24Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/bluetree-service/simple-log)[ Packagist](https://packagist.org/packages/bluetree-service/simple-log)[ Docs](https://github.com/bluetree-service/simple-log)[ RSS](/packages/bluetree-service-simple-log/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (21)Used By (4)

Simple Log
==========

[](#simple-log)

[![Latest Stable Version](https://camo.githubusercontent.com/2735d2668cb00ec64ac4ffe815ef0d4d3557d1e738b0910834a9bf6e500f497d/68747470733a2f2f706f7365722e707567782e6f72672f626c7565747265652d736572766963652f73696d706c652d6c6f672f762f737461626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bluetree-service/simple-log)[![Total Downloads](https://camo.githubusercontent.com/02625bb3c9866cf2dc70a240c0da053bd0e5b57f3291032c9973ed9d565fbc3d/68747470733a2f2f706f7365722e707567782e6f72672f626c7565747265652d736572766963652f73696d706c652d6c6f672f646f776e6c6f6164732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bluetree-service/simple-log)[![License](https://camo.githubusercontent.com/07a1447d7311f95b4028a862a94ab5c31d41366c9eaf5ded13ce4e5fc70d964c/68747470733a2f2f706f7365722e707567782e6f72672f626c7565747265652d736572766963652f73696d706c652d6c6f672f6c6963656e73652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bluetree-service/simple-log)

[![Build Status](https://camo.githubusercontent.com/875c9d35690015c2a93f47c5ca178f2333e720c1e666e46ee43cb83661df93cd/68747470733a2f2f7472617669732d63692e6f72672f626c7565747265652d736572766963652f73696d706c652d6c6f672e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/bluetree-service/simple-log)[![Coverage Status](https://camo.githubusercontent.com/65bd959fb0d9d513dc6fef260e8cda77f515ebd811f1821eb7fffa55bd06aed5/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f626c7565747265652d736572766963652f73696d706c652d6c6f672f62616467652e7376673f7374796c653d666c61742d737175617265266272616e63683d6d6173746572)](https://coveralls.io/github/bluetree-service/simple-log?branch=master)[![Build Status](https://camo.githubusercontent.com/7f8f6fe448f8591aeebe75621c6000383624e6d3490588d3766d37b753474e2f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f626c7565747265652d736572766963652f73696d706c652d6c6f672f6261646765732f6275696c642e706e673f7374796c653d666c61742d73717561726526623d6d6173746572)](https://scrutinizer-ci.com/g/bluetree-service/simple-log/build-status/master)[![Code Coverage](https://camo.githubusercontent.com/fcc78544f14cc011d13ffb01c0fa53b245bf57b977f1841cd68c36cde59f718f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f626c7565747265652d736572766963652f73696d706c652d6c6f672f6261646765732f636f7665726167652e706e673f7374796c653d666c61742d73717561726526623d6d6173746572)](https://scrutinizer-ci.com/g/bluetree-service/simple-log/?branch=master)

[![Bugs](https://camo.githubusercontent.com/7d3c9559dedf8c12e0da593169a174eca0d53f8da68255674fc498a73153a08c/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d626c7565747265652d736572766963655f73696d706c652d6c6f67266d65747269633d62756773)](https://sonarcloud.io/summary/new_code?id=bluetree-service_simple-log)[![Code Smells](https://camo.githubusercontent.com/9baf8caaa3edca43d9b2910e740e1a6bfb0d4f33c7d7cfe716843a923f30bc8a/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d626c7565747265652d736572766963655f73696d706c652d6c6f67266d65747269633d636f64655f736d656c6c73)](https://sonarcloud.io/summary/new_code?id=bluetree-service_simple-log)[![Coverage](https://camo.githubusercontent.com/f24699abffcd0fd1fe85ee56c45235b9ac086d3ced6edaad3043631390474efb/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d626c7565747265652d736572766963655f73696d706c652d6c6f67266d65747269633d636f766572616765)](https://sonarcloud.io/summary/new_code?id=bluetree-service_simple-log)[![Reliability Rating](https://camo.githubusercontent.com/e98f966ccf58eca4cf051bd0bd303a30df3ddd1242c30e5f74575fa60ae998ab/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d626c7565747265652d736572766963655f73696d706c652d6c6f67266d65747269633d72656c696162696c6974795f726174696e67)](https://sonarcloud.io/summary/new_code?id=bluetree-service_simple-log)[![Security Rating](https://camo.githubusercontent.com/b0fd0915c08ac51a4c4a892d4b7213ab9d278aeb1afc96527480708770f9df71/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d626c7565747265652d736572766963655f73696d706c652d6c6f67266d65747269633d73656375726974795f726174696e67)](https://sonarcloud.io/summary/new_code?id=bluetree-service_simple-log)[![Maintainability Rating](https://camo.githubusercontent.com/cb310ec0504f58086fa1312e244ec829b86dd8ed05ac4d81371d4061cb781352/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d626c7565747265652d736572766963655f73696d706c652d6c6f67266d65747269633d7371616c655f726174696e67)](https://sonarcloud.io/summary/new_code?id=bluetree-service_simple-log)[![Vulnerabilities](https://camo.githubusercontent.com/b7e3f20d330791ef6e19d397da4a65fea8a001c458a5edea18cfd47be9cf5c69/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d626c7565747265652d736572766963655f73696d706c652d6c6f67266d65747269633d76756c6e65726162696c6974696573)](https://sonarcloud.io/summary/new_code?id=bluetree-service_simple-log)

[![SonarQube Cloud](https://camo.githubusercontent.com/5359d686f5abad04d5f03fef6095cbef4b29269cf24334b644c076fa915e3ac9/68747470733a2f2f736f6e6172636c6f75642e696f2f696d616765732f70726f6a6563745f6261646765732f736f6e6172636c6f75642d6461726b2e737667)](https://sonarcloud.io/summary/new_code?id=bluetree-service_simple-log)

Simply way to create log message written directly into file.

Usage
-----

[](#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

[](#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](https://github.com/bluetree-service/simple-log/doc/basic_usage.md "Change log")

Install via Composer
--------------------

[](#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
-------------------

[](#project-description)

### Used conventions

[](#used-conventions)

- **Namespaces** - each library use namespaces
- **PSR-2** - [PSR-2](http://www.php-fig.org/psr/psr-2/) Coding Style
- **PSR-3** - [PSR-3](http://www.php-fig.org/psr/psr-3/) Logger Interface
- **PSR-4** - [PSR-4](http://www.php-fig.org/psr/psr-4/) Autoloading Standard
- **Composer** - [Composer](https://getcomposer.org/) usage to load/update libraries

### Requirements

[](#requirements)

- PHP 8.2 or higher

Change log
----------

[](#change-log)

All release version changes:
[Change log](https://github.com/bluetree-service/simple-log/doc/change_log.md "Change log")

License
-------

[](#license)

This bundle is released under the Apache license.
[Apache license](https://github.com/bluetree-service/simple-log/LICENSE "Apache license")

Travis Information
------------------

[](#travis-information)

[Travis CI Build Info](https://travis-ci.org/bluetree-service/simple-log)

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance88

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~197 days

Recently: every ~684 days

Total

19

Last Release

90d ago

PHP version history (5 changes)0.2.0PHP &gt;=5.4.0

v0.6.0.1PHP &gt;=5.5.0

v0.7.1.0PHP &gt;=5.6.0

0.8.0.0PHP &gt;= 7.1

0.9.0.0PHP &gt;= 7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/fe3bb01759d649013c9375dfbc9e45145e315cc5dbd7448debfc95dba907bf11?d=identicon)[chajr](/maintainers/chajr)

---

Top Contributors

[![chajr](https://avatars.githubusercontent.com/u/1511381?v=4)](https://github.com/chajr "chajr (76 commits)")

---

Tags

logloggingexceptionerrormessageswarningclass log

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bluetree-service-simple-log/health.svg)

```
[![Health](https://phpackages.com/badges/bluetree-service-simple-log/health.svg)](https://phpackages.com/packages/bluetree-service-simple-log)
```

###  Alternatives

[sentry/sentry

PHP SDK for Sentry (http://sentry.io)

1.9k227.1M270](/packages/sentry-sentry)[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3451.5M24](/packages/analog-analog)[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1851.5M3](/packages/justbetter-magento2-sentry)[phptek/sentry

Sentry.io integration for SilverStripe. Binds Sentry.io to SilverStripe's error &amp; exception handling subsystem.

15203.5k3](/packages/phptek-sentry)[saasscaleup/laravel-log-alarm

Laravel log Alarm help you to set up alarm when errors occur in your system and send you a notification via Slack and email

27025.0k](/packages/saasscaleup-laravel-log-alarm)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
