{"id":19326012,"url":"https://github.com/linkorb/app-event","last_synced_at":"2025-02-24T06:17:58.112Z","repository":{"id":62517365,"uuid":"201935669","full_name":"linkorb/app-event","owner":"linkorb","description":"A library providing the means to log Application Events","archived":false,"fork":false,"pushed_at":"2022-09-29T11:40:08.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-07T11:50:36.976Z","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:27:20.000Z","updated_at":"2022-09-21T15:53:47.000Z","dependencies_parsed_at":"2022-11-02T13:45:42.367Z","dependency_job_id":null,"html_url":"https://github.com/linkorb/app-event","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fapp-event","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fapp-event/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fapp-event/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fapp-event/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linkorb","download_url":"https://codeload.github.com/linkorb/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:12.028Z","updated_at":"2025-02-24T06:17:58.053Z","avatar_url":"https://github.com/linkorb.png","language":"PHP","readme":"# linkorb/app-event\n\nThis library provides a way for applications to integrate a standard scheme for\nlogging Application Events.  Specifically, it provides:\n\n-   AppEventFormatter, which:\n\n    - normalises Monolog log records to the structure required for LinkORB\n      Application Events and\n\n    - formats the log records as Newline Delimited JSON (ndjson)\n\n-   AppEventLoggerAwareInterface which describes a method (`setAppEventLogger`)\n    by which an Application Event Logger may be injected into services and\ncontrollers which need to log Application Events\n\n-   AppEventLoggerInterface which describes a method (`log`) by which services\n    may log Application Events\n\n-   AppEventLoggerTrait which provides implementations of\n    AppEventLoggerAwareInterface and AppEventLoggerInterface\n\nAn example:-\n\n```php\n\nclass MyService implements AppEventLoggerAwareInterface,\n    AppEventLoggerInterface\n{\n    use AppEventLoggerTrait;\n\n    public function doSomething()\n    {\n        // ... do something ...\n        $this-\u003elog('something.was.done', ['some-info' =\u003e '...', 'more' =\u003e ...]);\n    }\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkorb%2Fapp-event","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinkorb%2Fapp-event","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkorb%2Fapp-event/lists"}