{"id":19326027,"url":"https://github.com/linkorb/silex-provider-app-event","last_synced_at":"2026-05-14T08:32:37.882Z","repository":{"id":57015259,"uuid":"201937041","full_name":"linkorb/silex-provider-app-event","owner":"linkorb","description":"Provides a Monolog logger configured to produce Application Event logs using linkorb/app-event","archived":false,"fork":false,"pushed_at":"2019-08-12T13:35:38.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-06T07:03:26.375Z","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/linkorb.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}},"created_at":"2019-08-12T13:34:57.000Z","updated_at":"2019-08-12T13:35:20.000Z","dependencies_parsed_at":"2022-08-22T09:31:27.919Z","dependency_job_id":null,"html_url":"https://github.com/linkorb/silex-provider-app-event","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/linkorb%2Fsilex-provider-app-event","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fsilex-provider-app-event/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fsilex-provider-app-event/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fsilex-provider-app-event/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linkorb","download_url":"https://codeload.github.com/linkorb/silex-provider-app-event/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240427316,"owners_count":19799471,"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-10T02:12:13.963Z","updated_at":"2026-05-14T08:32:32.864Z","avatar_url":"https://github.com/linkorb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# linkorb/silex-provider-app-event-logger\n\nProvides a Monolog logger configured to produce Application Event logs using\n[linkorb/app-event][].\n\n## Install\n\nInstall using composer:\n\n```sh\n$ composer require linkorb/silex-provider-app-event\n```\n\nThen register the provider in your app or bootstrap file:\n\n```php\n// app/app.php or app/bootstrap.php\n\nuse LinkORB\\AppEventLogger\\Provider\\AppEventLoggerProvider;\n...\n\n$app-\u003eregister(\n    new AppEventLoggerProvider,\n    [\n        'linkorb_app_event.path' =\u003e 'path/to/a/logfile.ndjson',\n    ]\n);\n```\n\n## Usage\n\n```php\nclass LoginController\n{\n    public function indexAction(Application $app, Request $request)\n    {\n        ...\n\n        $app['linkorb_app_event.logger']-\u003einfo('login.success', ['username' =\u003e 'lara']);\n    }\n}\n```\n\n## Configuration\n\n```php\n// app/app.php or app/bootstrap.php\n$app-\u003eregister(\n    new AppEventLoggerProvider,\n    [\n        'linkorb_app_event.path' =\u003e 'path/to/a/logfile.ndjson',\n\n        // the minimum log level can be changed from the default INFO\n        'linkorb_app_event.level' =\u003e DEBUG,\n\n        // the TagProcessor will add tags to log records\n        'linkorb_app_event.tags' =\u003e ['mytag' =\u003e null, 'othertag' =\u003e 'a-value'],\n\n        // the TokenProcessor, which adds info about the currently\n        // authenticated user, can be disabled\n        'linkorb_app_event.token_processor' =\u003e false,\n    ]\n);\n```\n\n[linkorb/app-event]: \u003chttps://github.com/linkorb/app-event\u003e\n  \"linkorb/app-event at GitHub\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkorb%2Fsilex-provider-app-event","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinkorb%2Fsilex-provider-app-event","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkorb%2Fsilex-provider-app-event/lists"}