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

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

oasis/logging
=============

Wrapper of monolog/monolog. Should be easier to use/configure than monolog

v1.5.1(2y ago)0187.7k↓33.3%111MITPHP

Since Dec 4Pushed 2y ago3 watchersCompare

[ Source](https://github.com/oasmobile/php-logging)[ Packagist](https://packagist.org/packages/oasis/logging)[ RSS](/packages/oasis-logging/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (23)Used By (11)

MLogger - logging for Oasis projects
====================================

[](#mlogger---logging-for-oasis-projects)

oasis/logging provides classes and functions used to write logs.

The component can be referred to as **MLog** or **MLogger** in short.

There are a list of log handlers provided by default:

- Console Handler
- Local File Handler
- Local Error Handler
- AWS SNS Handler

MLog adhere strictly to the [PSR-3](http://www.php-fig.org/psr/psr-3/) standard and uses [monolog/monolog](https://github.com/Seldaek/monolog)as its underlying implementation.

Installation
------------

[](#installation)

Install the latest version with command below:

```
$ composer require oasis/logging
```

Basic Usage
-----------

[](#basic-usage)

It is easy to use MLogger withour any configuration:

```
