{"action":"opened","number":43,"pull_request":{"url":"https://api.github.com/repos/theorchard/monolog-cascade/pulls/43","id":55020054,"html_url":"https://github.com/theorchard/monolog-cascade/pull/43","diff_url":"https://github.com/theorchard/monolog-cascade/pull/43.diff","patch_url":"https://github.com/theorchard/monolog-cascade/pull/43.patch","issue_url":"https://api.github.com/repos/theorchard/monolog-cascade/issues/43","number":43,"state":"open","locked":false,"title":"Support for processors per handler.","user":{"login":"jessmchung","id":676278,"avatar_url":"https://avatars.githubusercontent.com/u/676278?v=3","gravatar_id":"","url":"https://api.github.com/users/jessmchung","html_url":"https://github.com/jessmchung","followers_url":"https://api.github.com/users/jessmchung/followers","following_url":"https://api.github.com/users/jessmchung/following{/other_user}","gists_url":"https://api.github.com/users/jessmchung/gists{/gist_id}","starred_url":"https://api.github.com/users/jessmchung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessmchung/subscriptions","organizations_url":"https://api.github.com/users/jessmchung/orgs","repos_url":"https://api.github.com/users/jessmchung/repos","events_url":"https://api.github.com/users/jessmchung/events{/privacy}","received_events_url":"https://api.github.com/users/jessmchung/received_events","type":"User","site_admin":false},"body":"@rantonmattei @mortaliorchard Please review.\r\n\r\nThis enables users to specify processors on the handler level (which gets run after logger-level specified processors are run). Sample usage for configuration yml file would be:\r\n\r\n```\r\nformatters:\r\n    dashed:\r\n        class: Monolog\\Formatter\\LineFormatter\r\n        format: \"%datetime%-%channel%.%level_name% - %message%\\n\"\r\nhandlers:\r\n    console:\r\n        class: Monolog\\Handler\\StreamHandler\r\n        level: DEBUG\r\n        formatter: dashed\r\n        stream: php://stdout\r\n    info_file_handler:\r\n        class: Monolog\\Handler\\StreamHandler\r\n        level: INFO\r\n        formatter: dashed\r\n        stream: ./example_info.log\r\n        processor: [git_processor]\r\nprocessors:\r\n    web_processor:\r\n        class: Monolog\\Processor\\WebProcessor\r\n   git_processor:\r\n       class: Monolog\\Processor\\GitProcessor\r\nloggers:\r\n    myLogger:\r\n        handlers: [console, info_file_handler]\r\n        processors: [web_processor]\r\n```\r\n\r\n\r\n","created_at":"2016-01-04T20:47:01Z","updated_at":"2016-01-04T20:47:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/theorchard/monolog-cascade/pulls/43/commits","review_comments_url":"https://api.github.com/repos/theorchard/monolog-cascade/pulls/43/comments","review_comment_url":"https://api.github.com/repos/theorchard/monolog-cascade/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theorchard/monolog-cascade/issues/43/comments","statuses_url":"https://api.github.com/repos/theorchard/monolog-cascade/statuses/d34390b9507a481cd40d9dc77bf5ac50f5e31644","head":{"label":"jessmchung:handlerprocessor","ref":"handlerprocessor","sha":"d34390b9507a481cd40d9dc77bf5ac50f5e31644","user":{"login":"jessmchung","id":676278,"avatar_url":"https://avatars.githubusercontent.com/u/676278?v=3","gravatar_id":"","url":"https://api.github.com/users/jessmchung","html_url":"https://github.com/jessmchung","followers_url":"https://api.github.com/users/jessmchung/followers","following_url":"https://api.github.com/users/jessmchung/following{/other_user}","gists_url":"https://api.github.com/users/jessmchung/gists{/gist_id}","starred_url":"https://api.github.com/users/jessmchung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessmchung/subscriptions","organizations_url":"https://api.github.com/users/jessmchung/orgs","repos_url":"https://api.github.com/users/jessmchung/repos","events_url":"https://api.github.com/users/jessmchung/events{/privacy}","received_events_url":"https://api.github.com/users/jessmchung/received_events","type":"User","site_admin":false},"repo":{"id":48702253,"name":"monolog-cascade","full_name":"jessmchung/monolog-cascade","owner":{"login":"jessmchung","id":676278,"avatar_url":"https://avatars.githubusercontent.com/u/676278?v=3","gravatar_id":"","url":"https://api.github.com/users/jessmchung","html_url":"https://github.com/jessmchung","followers_url":"https://api.github.com/users/jessmchung/followers","following_url":"https://api.github.com/users/jessmchung/following{/other_user}","gists_url":"https://api.github.com/users/jessmchung/gists{/gist_id}","starred_url":"https://api.github.com/users/jessmchung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessmchung/subscriptions","organizations_url":"https://api.github.com/users/jessmchung/orgs","repos_url":"https://api.github.com/users/jessmchung/repos","events_url":"https://api.github.com/users/jessmchung/events{/privacy}","received_events_url":"https://api.github.com/users/jessmchung/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jessmchung/monolog-cascade","description":"Configure multiple loggers and handlers in the blink of an eye","fork":true,"url":"https://api.github.com/repos/jessmchung/monolog-cascade","forks_url":"https://api.github.com/repos/jessmchung/monolog-cascade/forks","keys_url":"https://api.github.com/repos/jessmchung/monolog-cascade/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jessmchung/monolog-cascade/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jessmchung/monolog-cascade/teams","hooks_url":"https://api.github.com/repos/jessmchung/monolog-cascade/hooks","issue_events_url":"https://api.github.com/repos/jessmchung/monolog-cascade/issues/events{/number}","events_url":"https://api.github.com/repos/jessmchung/monolog-cascade/events","assignees_url":"https://api.github.com/repos/jessmchung/monolog-cascade/assignees{/user}","branches_url":"https://api.github.com/repos/jessmchung/monolog-cascade/branches{/branch}","tags_url":"https://api.github.com/repos/jessmchung/monolog-cascade/tags","blobs_url":"https://api.github.com/repos/jessmchung/monolog-cascade/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jessmchung/monolog-cascade/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jessmchung/monolog-cascade/git/refs{/sha}","trees_url":"https://api.github.com/repos/jessmchung/monolog-cascade/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jessmchung/monolog-cascade/statuses/{sha}","languages_url":"https://api.github.com/repos/jessmchung/monolog-cascade/languages","stargazers_url":"https://api.github.com/repos/jessmchung/monolog-cascade/stargazers","contributors_url":"https://api.github.com/repos/jessmchung/monolog-cascade/contributors","subscribers_url":"https://api.github.com/repos/jessmchung/monolog-cascade/subscribers","subscription_url":"https://api.github.com/repos/jessmchung/monolog-cascade/subscription","commits_url":"https://api.github.com/repos/jessmchung/monolog-cascade/commits{/sha}","git_commits_url":"https://api.github.com/repos/jessmchung/monolog-cascade/git/commits{/sha}","comments_url":"https://api.github.com/repos/jessmchung/monolog-cascade/comments{/number}","issue_comment_url":"https://api.github.com/repos/jessmchung/monolog-cascade/issues/comments{/number}","contents_url":"https://api.github.com/repos/jessmchung/monolog-cascade/contents/{+path}","compare_url":"https://api.github.com/repos/jessmchung/monolog-cascade/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jessmchung/monolog-cascade/merges","archive_url":"https://api.github.com/repos/jessmchung/monolog-cascade/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jessmchung/monolog-cascade/downloads","issues_url":"https://api.github.com/repos/jessmchung/monolog-cascade/issues{/number}","pulls_url":"https://api.github.com/repos/jessmchung/monolog-cascade/pulls{/number}","milestones_url":"https://api.github.com/repos/jessmchung/monolog-cascade/milestones{/number}","notifications_url":"https://api.github.com/repos/jessmchung/monolog-cascade/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jessmchung/monolog-cascade/labels{/name}","releases_url":"https://api.github.com/repos/jessmchung/monolog-cascade/releases{/id}","created_at":"2015-12-28T16:47:54Z","updated_at":"2015-12-28T16:47:55Z","pushed_at":"2016-01-04T20:43:28Z","git_url":"git://github.com/jessmchung/monolog-cascade.git","ssh_url":"git@github.com:jessmchung/monolog-cascade.git","clone_url":"https://github.com/jessmchung/monolog-cascade.git","svn_url":"https://github.com/jessmchung/monolog-cascade","homepage":"","size":78,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"theorchard:master","ref":"master","sha":"a3b0a68b090389366867f055d1a0b21c17bdad05","user":{"login":"theorchard","id":3131625,"avatar_url":"https://avatars.githubusercontent.com/u/3131625?v=3","gravatar_id":"","url":"https://api.github.com/users/theorchard","html_url":"https://github.com/theorchard","followers_url":"https://api.github.com/users/theorchard/followers","following_url":"https://api.github.com/users/theorchard/following{/other_user}","gists_url":"https://api.github.com/users/theorchard/gists{/gist_id}","starred_url":"https://api.github.com/users/theorchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theorchard/subscriptions","organizations_url":"https://api.github.com/users/theorchard/orgs","repos_url":"https://api.github.com/users/theorchard/repos","events_url":"https://api.github.com/users/theorchard/events{/privacy}","received_events_url":"https://api.github.com/users/theorchard/received_events","type":"Organization","site_admin":false},"repo":{"id":32400011,"name":"monolog-cascade","full_name":"theorchard/monolog-cascade","owner":{"login":"theorchard","id":3131625,"avatar_url":"https://avatars.githubusercontent.com/u/3131625?v=3","gravatar_id":"","url":"https://api.github.com/users/theorchard","html_url":"https://github.com/theorchard","followers_url":"https://api.github.com/users/theorchard/followers","following_url":"https://api.github.com/users/theorchard/following{/other_user}","gists_url":"https://api.github.com/users/theorchard/gists{/gist_id}","starred_url":"https://api.github.com/users/theorchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theorchard/subscriptions","organizations_url":"https://api.github.com/users/theorchard/orgs","repos_url":"https://api.github.com/users/theorchard/repos","events_url":"https://api.github.com/users/theorchard/events{/privacy}","received_events_url":"https://api.github.com/users/theorchard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theorchard/monolog-cascade","description":"Configure multiple loggers and handlers in the blink of an eye","fork":false,"url":"https://api.github.com/repos/theorchard/monolog-cascade","forks_url":"https://api.github.com/repos/theorchard/monolog-cascade/forks","keys_url":"https://api.github.com/repos/theorchard/monolog-cascade/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theorchard/monolog-cascade/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theorchard/monolog-cascade/teams","hooks_url":"https://api.github.com/repos/theorchard/monolog-cascade/hooks","issue_events_url":"https://api.github.com/repos/theorchard/monolog-cascade/issues/events{/number}","events_url":"https://api.github.com/repos/theorchard/monolog-cascade/events","assignees_url":"https://api.github.com/repos/theorchard/monolog-cascade/assignees{/user}","branches_url":"https://api.github.com/repos/theorchard/monolog-cascade/branches{/branch}","tags_url":"https://api.github.com/repos/theorchard/monolog-cascade/tags","blobs_url":"https://api.github.com/repos/theorchard/monolog-cascade/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theorchard/monolog-cascade/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theorchard/monolog-cascade/git/refs{/sha}","trees_url":"https://api.github.com/repos/theorchard/monolog-cascade/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theorchard/monolog-cascade/statuses/{sha}","languages_url":"https://api.github.com/repos/theorchard/monolog-cascade/languages","stargazers_url":"https://api.github.com/repos/theorchard/monolog-cascade/stargazers","contributors_url":"https://api.github.com/repos/theorchard/monolog-cascade/contributors","subscribers_url":"https://api.github.com/repos/theorchard/monolog-cascade/subscribers","subscription_url":"https://api.github.com/repos/theorchard/monolog-cascade/subscription","commits_url":"https://api.github.com/repos/theorchard/monolog-cascade/commits{/sha}","git_commits_url":"https://api.github.com/repos/theorchard/monolog-cascade/git/commits{/sha}","comments_url":"https://api.github.com/repos/theorchard/monolog-cascade/comments{/number}","issue_comment_url":"https://api.github.com/repos/theorchard/monolog-cascade/issues/comments{/number}","contents_url":"https://api.github.com/repos/theorchard/monolog-cascade/contents/{+path}","compare_url":"https://api.github.com/repos/theorchard/monolog-cascade/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theorchard/monolog-cascade/merges","archive_url":"https://api.github.com/repos/theorchard/monolog-cascade/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theorchard/monolog-cascade/downloads","issues_url":"https://api.github.com/repos/theorchard/monolog-cascade/issues{/number}","pulls_url":"https://api.github.com/repos/theorchard/monolog-cascade/pulls{/number}","milestones_url":"https://api.github.com/repos/theorchard/monolog-cascade/milestones{/number}","notifications_url":"https://api.github.com/repos/theorchard/monolog-cascade/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theorchard/monolog-cascade/labels{/name}","releases_url":"https://api.github.com/repos/theorchard/monolog-cascade/releases{/id}","created_at":"2015-03-17T14:57:15Z","updated_at":"2016-01-03T08:53:40Z","pushed_at":"2016-01-04T20:47:02Z","git_url":"git://github.com/theorchard/monolog-cascade.git","ssh_url":"git@github.com:theorchard/monolog-cascade.git","clone_url":"https://github.com/theorchard/monolog-cascade.git","svn_url":"https://github.com/theorchard/monolog-cascade","homepage":"","size":78,"stargazers_count":22,"watchers_count":22,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":4,"forks":8,"open_issues":4,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theorchard/monolog-cascade/pulls/43"},"html":{"href":"https://github.com/theorchard/monolog-cascade/pull/43"},"issue":{"href":"https://api.github.com/repos/theorchard/monolog-cascade/issues/43"},"comments":{"href":"https://api.github.com/repos/theorchard/monolog-cascade/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/theorchard/monolog-cascade/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/theorchard/monolog-cascade/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theorchard/monolog-cascade/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/theorchard/monolog-cascade/statuses/d34390b9507a481cd40d9dc77bf5ac50f5e31644"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":80,"deletions":11,"changed_files":4}}