{"action":"created","issue":{"url":"https://api.github.com/repos/svile/pilog/issues/6","labels_url":"https://api.github.com/repos/svile/pilog/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/svile/pilog/issues/6/comments","events_url":"https://api.github.com/repos/svile/pilog/issues/6/events","html_url":"https://github.com/svile/pilog/pull/6","id":117430740,"number":6,"title":"Ability to log to resources like STDOUT","user":{"login":"anthonyp","id":146840,"avatar_url":"https://avatars.githubusercontent.com/u/146840?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonyp","html_url":"https://github.com/anthonyp","followers_url":"https://api.github.com/users/anthonyp/followers","following_url":"https://api.github.com/users/anthonyp/following{/other_user}","gists_url":"https://api.github.com/users/anthonyp/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonyp/subscriptions","organizations_url":"https://api.github.com/users/anthonyp/orgs","repos_url":"https://api.github.com/users/anthonyp/repos","events_url":"https://api.github.com/users/anthonyp/events{/privacy}","received_events_url":"https://api.github.com/users/anthonyp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-17T19:30:14Z","updated_at":"2015-11-17T20:19:42Z","closed_at":"2015-11-17T20:19:42Z","pull_request":{"url":"https://api.github.com/repos/svile/pilog/pulls/6","html_url":"https://github.com/svile/pilog/pull/6","diff_url":"https://github.com/svile/pilog/pull/6.diff","patch_url":"https://github.com/svile/pilog/pull/6.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/svile/pilog/issues/comments/157495013","html_url":"https://github.com/svile/pilog/pull/6#issuecomment-157495013","issue_url":"https://api.github.com/repos/svile/pilog/issues/6","id":157495013,"user":{"login":"svile","id":2964990,"avatar_url":"https://avatars.githubusercontent.com/u/2964990?v=3","gravatar_id":"","url":"https://api.github.com/users/svile","html_url":"https://github.com/svile","followers_url":"https://api.github.com/users/svile/followers","following_url":"https://api.github.com/users/svile/following{/other_user}","gists_url":"https://api.github.com/users/svile/gists{/gist_id}","starred_url":"https://api.github.com/users/svile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svile/subscriptions","organizations_url":"https://api.github.com/users/svile/orgs","repos_url":"https://api.github.com/users/svile/repos","events_url":"https://api.github.com/users/svile/events{/privacy}","received_events_url":"https://api.github.com/users/svile/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T20:19:42Z","updated_at":"2015-11-17T20:19:42Z","body":"That's a great addition! However, I don't agree with the change request. The point of the Output directory is to contain modules which deal with writing of the log strings using different handles (all implementing Handle.php) - e.g. file, stream, db, etc. To me, STDERR and STDOUT invade File.php's privacy (especially as this change request short circuits the constructor itself). You should have it in a separate file with appropriate name e.g. Resource.php, Stream.php, etc and placed in the Output directory similarly to File.php. This file should implement Handle.php, or if File.php contains most of the needed code, you can inherit from it instead. I'd like to keep this project as simple and as organized as possible, hence why I'm rejecting this. I'd gladly accept it if you add it as described above. Also, please pay attention to the project's code format, so it's consistent. Tests would be nice as well, though I may be asking too much - I can add those later."}}