{"action":"created","issue":{"url":"https://api.github.com/repos/Seldaek/monolog/issues/529","labels_url":"https://api.github.com/repos/Seldaek/monolog/issues/529/labels{/name}","comments_url":"https://api.github.com/repos/Seldaek/monolog/issues/529/comments","events_url":"https://api.github.com/repos/Seldaek/monolog/issues/529/events","html_url":"https://github.com/Seldaek/monolog/pull/529","id":62606660,"number":529,"title":"Add strpos based TestHandler methods","user":{"login":"rtuin","id":360150,"avatar_url":"https://avatars.githubusercontent.com/u/360150?v=3","gravatar_id":"","url":"https://api.github.com/users/rtuin","html_url":"https://github.com/rtuin","followers_url":"https://api.github.com/users/rtuin/followers","following_url":"https://api.github.com/users/rtuin/following{/other_user}","gists_url":"https://api.github.com/users/rtuin/gists{/gist_id}","starred_url":"https://api.github.com/users/rtuin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtuin/subscriptions","organizations_url":"https://api.github.com/users/rtuin/orgs","repos_url":"https://api.github.com/users/rtuin/repos","events_url":"https://api.github.com/users/rtuin/events{/privacy}","received_events_url":"https://api.github.com/users/rtuin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-18T06:42:26Z","updated_at":"2015-04-02T17:44:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Seldaek/monolog/pulls/529","html_url":"https://github.com/Seldaek/monolog/pull/529","diff_url":"https://github.com/Seldaek/monolog/pull/529.diff","patch_url":"https://github.com/Seldaek/monolog/pull/529.patch"},"body":"These methods allow for writing tests with partial log matches. For example:\r\n\r\n```php\r\n$this->assertTrue(\r\n   $this->logHandler->hasErrorThatContains('The connection to the server has failed')\r\n);\r\n\r\n$this->assertTrue(\r\n   $this->logHandler->hasErrorThatContains('status 500')\r\n);\r\n```"},"comment":{"url":"https://api.github.com/repos/Seldaek/monolog/issues/comments/88987685","html_url":"https://github.com/Seldaek/monolog/pull/529#issuecomment-88987685","issue_url":"https://api.github.com/repos/Seldaek/monolog/issues/529","id":88987685,"user":{"login":"rtuin","id":360150,"avatar_url":"https://avatars.githubusercontent.com/u/360150?v=3","gravatar_id":"","url":"https://api.github.com/users/rtuin","html_url":"https://github.com/rtuin","followers_url":"https://api.github.com/users/rtuin/followers","following_url":"https://api.github.com/users/rtuin/following{/other_user}","gists_url":"https://api.github.com/users/rtuin/gists{/gist_id}","starred_url":"https://api.github.com/users/rtuin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtuin/subscriptions","organizations_url":"https://api.github.com/users/rtuin/orgs","repos_url":"https://api.github.com/users/rtuin/repos","events_url":"https://api.github.com/users/rtuin/events{/privacy}","received_events_url":"https://api.github.com/users/rtuin/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T17:44:12Z","updated_at":"2015-04-02T17:44:12Z","body":"@Seldaek what do you think of this improvement?"}}