PHPackages                             gabrielapg/laravel-custom-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. gabrielapg/laravel-custom-log

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

gabrielapg/laravel-custom-log
=============================

Custom file Log in your Laravel application

012PHP

Since Feb 14Pushed 8y ago1 watchersCompare

[ Source](https://github.com/GabrielApG/laravel-custom-log)[ Packagist](https://packagist.org/packages/gabrielapg/laravel-custom-log)[ RSS](/packages/gabrielapg-laravel-custom-log/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

README
------

[](#readme)

### Custom Write file Logs

[](#custom-write-file-logs)

Composer required
-----------------

[](#composer-required)

```
composer require "gabrielapg/laravel-custom-log @dev"

```

### Import trait CustomWriteLogs

[](#import-trait-customwritelogs)

```
use CustomWriteLogs;

```

### Write log

[](#write-log)

```
    $this->writeLog('customLog', 'description: Description your log');

```

**First param define name file log and secound param define description log.****Level default INFO**

[References logs and levels](https://laravel.com/docs/5.4/errors#logging)

### Example in Controller

[](#example-in-controller)

```

namespace App\Http\Controllers;

use App\Http\Controllers\Controller;
use Log\CustomWriteLogs;

class ExampleController extends Controller
{
    use CustomWriteLogs;

    /**
     * Index
     *
     */
    public function index()
    {
        $this->writeLog('customLog', 'description: Description your log');
    }
}

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7422945?v=4)[Gabriel Gonçalves](/maintainers/GabrielApG)[@GabrielApG](https://github.com/GabrielApG)

---

Top Contributors

[![GabrielApG](https://avatars.githubusercontent.com/u/7422945?v=4)](https://github.com/GabrielApG "GabrielApG (3 commits)")

### Embed Badge

![Health badge](/badges/gabrielapg-laravel-custom-log/health.svg)

```
[![Health](https://phpackages.com/badges/gabrielapg-laravel-custom-log/health.svg)](https://phpackages.com/packages/gabrielapg-laravel-custom-log)
```

###  Alternatives

[psr/log

Common interface for logging libraries

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

API for OpenTelemetry PHP.

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

SDK for OpenTelemetry PHP.

2326.5M317](/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)
