PHPackages                             nsrosenqvist/soma-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. nsrosenqvist/soma-logger

ActiveLibrary

nsrosenqvist/soma-logger
========================

Monolog integrated with the SOMA framework

1.0.0(5y ago)02MITPHPPHP &gt;=7.0.0

Since Jun 9Pushed 5y ago1 watchersCompare

[ Source](https://github.com/nsrosenqvist/soma-logger)[ Packagist](https://packagist.org/packages/nsrosenqvist/soma-logger)[ Docs](https://github.com/nsrosenqvist/soma-logger)[ RSS](/packages/nsrosenqvist-soma-logger/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

SOMA Logger
===========

[](#soma-logger)

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

[](#installation)

```
composer require nsrosenqvist/soma-logger
```

Usage
-----

[](#usage)

First register the service provider. By default configuration goes in `config/app.php`. If you want anything other than simple file logging you need to connect a Monolog handler to the SOMA exception handler (view source of `LoggerProvider.php`) or disable the built-in exception handler by setting the config value `app.catch-exceptions` to `false`.

**Example configuration:**

```
