PHPackages                             goma/goma-logging - 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. goma/goma-logging

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

goma/goma-logging
=================

Goma logging gives some abilities for logging. It automatically adds output-logging if environment is command line.

01.9kPHP

Since Mar 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/gomaframework/GomaLogging)[ Packagist](https://packagist.org/packages/goma/goma-logging)[ RSS](/packages/goma-goma-logging/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Goma Logging
============

[](#goma-logging)

GomaLogging provides logging functionality.

Methods
-------

[](#methods)

Logger::log($logString, $level) - Logs information, possible levels:

- Logger::LOG\_LEVEL\_LOG
- Logger::LOG\_LEVEL\_ERROR
- Logger::LOG\_LEVEL\_DEBUG
- Logger::LOG\_LEVEL\_PROFILE
- Logger::LOG\_LEVEL\_SLOW\_QUERY

Levels can also be used together, for example: `Logger::log("My Log Message", Logger::LOG_LEVEL_DEBUG | Logger::LOG_LEVEL_LOG)`

Configuration via composer.json
-------------------------------

[](#configuration-via-composerjson)

- goma\_log\_folder: define own custom log-folder name in goma data directory. Default: logs

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f770f7ce9e7cb8a9261d408a6d70eaa86e96eab3419e7b49cce95bb7f2e556f?d=identicon)[daniel.gruber](/maintainers/daniel.gruber)

### Embed Badge

![Health badge](/badges/goma-goma-logging/health.svg)

```
[![Health](https://phpackages.com/badges/goma-goma-logging/health.svg)](https://phpackages.com/packages/goma-goma-logging)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B10.9k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1938.5M262](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2326.5M315](/packages/open-telemetry-sdk)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8676.7k](/packages/illuminated-console-logger)

PHPackages © 2026

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