{"id":19722216,"url":"https://github.com/itonomy/module-database-logger","last_synced_at":"2026-05-13T18:12:36.104Z","repository":{"id":163952113,"uuid":"638953243","full_name":"Itonomy/module-database-logger","owner":"Itonomy","description":"module-database-logger","archived":false,"fork":false,"pushed_at":"2023-06-06T09:19:22.000Z","size":11,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-11T00:51:09.646Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Itonomy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-10T13:01:12.000Z","updated_at":"2023-05-11T08:15:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"b04d8879-bc69-41b7-8eda-c6b5b8d0cbe0","html_url":"https://github.com/Itonomy/module-database-logger","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itonomy%2Fmodule-database-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itonomy%2Fmodule-database-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itonomy%2Fmodule-database-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itonomy%2Fmodule-database-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Itonomy","download_url":"https://codeload.github.com/Itonomy/module-database-logger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241044253,"owners_count":19899489,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T23:16:45.186Z","updated_at":"2025-11-20T19:04:34.165Z","avatar_url":"https://github.com/Itonomy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Itonomy_DatabaseLogger module\nThe module enables you to log messages in database and displaying them nicely in admin grid instead of files.\n\nUseful for logging information related to imports, specific processes, etc.\n\n## Installation details\n\ninstall module through composer\n```\ncomposer require itonomy/module-database-logger\n```\n\n## Usage\n\nThe 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`.\n\nYou only need to replace your class which is used for logger to module's class `Itonomy\\DatabaseLogger\\Model\\Logger`.\n\nExample usage:\n\n```php\n\u003c?php\n$this-\u003elogger-\u003einfo('test log message', ['test_var' =\u003e 'test']);\n$this-\u003elogger-\u003einfo('test log message', ['test_var' =\u003e 'test', 'entity_type' =\u003e 'import', 'entity_id' =\u003e '99999']);\n?\u003e\n```\n\nFirst one is basic log which is similar to default Magento 2 logger.\n\nSecond one is more advanced and allows you to specify entity type and entity id which can be used to group logs in admin grid. This is useful if you want to log messages related to specific entity (import, export, etc.) and display them in admin grid.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitonomy%2Fmodule-database-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitonomy%2Fmodule-database-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitonomy%2Fmodule-database-logger/lists"}