PHPackages                             itonomy/module-database-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. itonomy/module-database-logger

ActiveMagento2-module[Logging &amp; Monitoring](/categories/logging)

itonomy/module-database-logger
==============================

Module which extends default monolog logger to log into database instead of files

1.0.0(2y ago)02101[1 issues](https://github.com/Itonomy/module-database-logger/issues)1MITPHPPHP ~7.4.0||~8.1.0

Since Jun 6Pushed 2y ago2 watchersCompare

[ Source](https://github.com/Itonomy/module-database-logger)[ Packagist](https://packagist.org/packages/itonomy/module-database-logger)[ RSS](/packages/itonomy-module-database-logger/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

Itonomy\_DatabaseLogger module
==============================

[](#itonomy_databaselogger-module)

The module enables you to log messages in database and displaying them nicely in admin grid instead of files.

Useful for logging information related to imports, specific processes, etc.

Installation details
--------------------

[](#installation-details)

install module through composer

```
composer require itonomy/module-database-logger

```

Usage
-----

[](#usage)

The module's logger implementation is based on Monolog. So you don't have to change much if you already use logger which implements `Psr\Log\LoggerInterface`.

You only need to replace your class which is used for logger to module's class `Itonomy\DatabaseLogger\Model\Logger`.

Example usage:

```
