PHPackages                             aaronheath/class-logger - 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. aaronheath/class-logger

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

aaronheath/class-logger
=======================

Simple logging helper trait for use within Laravel classes.

2.0.0(1y ago)07.5k3MITPHPPHP ^8.2CI failing

Since Jun 4Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/aaronheath/class-logger)[ Packagist](https://packagist.org/packages/aaronheath/class-logger)[ RSS](/packages/aaronheath-class-logger/feed)WikiDiscussions laravel-11 Synced 1mo ago

READMEChangelog (5)Dependencies (7)Versions (14)Used By (3)

Class Logger
============

[](#class-logger)

[![Build](https://github.com/aaronheath/class-logger/workflows/Build/badge.svg)](https://github.com/aaronheath/class-logger/workflows/Build/badge.svg)

Introduction
------------

[](#introduction)

This is a personal package which provides a simple logging for use within a class.

Methods
-------

[](#methods)

```
$this->log(); // alias for $this->logDebug()
$this->logEmergency();
$this->logAlert();
$this->logCritical();
$this->logError();
$this->logWarning();
$this->logNotice();
$this->logInfo();
$this->logDebug();
```

Example
-------

[](#example)

```
