{"action":"created","comment":{"url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/pulls/comments/168408791","pull_request_review_id":96768428,"id":168408791,"diff_hunk":"@@ -0,0 +1,124 @@\n+<?php\n+/**\n+ * Created by PhpStorm.\n+ * User: christopherfuchs\n+ * Date: 14.02.18\n+ * Time: 15:45\n+ */\n+\n+namespace Ytake\\LaravelFluent;\n+\n+use Fluent\\Logger\\FluentLogger;\n+use Illuminate\\Foundation\\Application;\n+use Monolog\\Formatter\\LineFormatter;\n+use Monolog\\Handler\\HandlerInterface;\n+use Monolog\\Logger;\n+\n+class CreateFluentLogger\n+{\n+\t/**\n+\t * @var Application\n+\t */\n+\tprivate $app;\n+\n+\t/**\n+\t * The Log levels.\n+\t *\n+\t * @var array\n+\t */\n+\tprotected $levels = [\n+\t\t'debug' => Logger::DEBUG,\n+\t\t'info' => Logger::INFO,\n+\t\t'notice' => Logger::NOTICE,\n+\t\t'warning' => Logger::WARNING,\n+\t\t'error' => Logger::ERROR,\n+\t\t'critical' => Logger::CRITICAL,\n+\t\t'alert' => Logger::ALERT,\n+\t\t'emergency' => Logger::EMERGENCY,\n+\t];\n+\n+\t/**\n+\t * CreateFluentLogger constructor.\n+\t *\n+\t * @param Application $app\n+\t */\n+\tpublic function __construct(Application $app)\n+\t{\n+\t\t$this->app = $app;\n+\t}\n+\n+\t/**\n+\t * Create a custom Monolog instance.\n+\t *\n+\t * @param array $config\n+\t *","path":"src/CreateFluentLogger.php","position":54,"original_position":54,"commit_id":"45e2ffc4cbe137020ac2868c6e43a92317cb20fb","original_commit_id":"45e2ffc4cbe137020ac2868c6e43a92317cb20fb","user":{"login":"Nitpick-CI","id":12626182,"avatar_url":"https://avatars1.githubusercontent.com/u/12626182?v=4","gravatar_id":"","url":"https://api.github.com/users/Nitpick-CI","html_url":"https://github.com/Nitpick-CI","followers_url":"https://api.github.com/users/Nitpick-CI/followers","following_url":"https://api.github.com/users/Nitpick-CI/following{/other_user}","gists_url":"https://api.github.com/users/Nitpick-CI/gists{/gist_id}","starred_url":"https://api.github.com/users/Nitpick-CI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nitpick-CI/subscriptions","organizations_url":"https://api.github.com/users/Nitpick-CI/orgs","repos_url":"https://api.github.com/users/Nitpick-CI/repos","events_url":"https://api.github.com/users/Nitpick-CI/events{/privacy}","received_events_url":"https://api.github.com/users/Nitpick-CI/received_events","type":"User","site_admin":false},"body":"Spaces must be used to indent lines; tabs are not allowed","created_at":"2018-02-15T08:48:38Z","updated_at":"2018-02-15T08:48:38Z","html_url":"https://github.com/ytake/Laravel-FluentLogger/pull/24#discussion_r168408791","pull_request_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/pulls/24","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ytake/Laravel-FluentLogger/pulls/comments/168408791"},"html":{"href":"https://github.com/ytake/Laravel-FluentLogger/pull/24#discussion_r168408791"},"pull_request":{"href":"https://api.github.com/repos/ytake/Laravel-FluentLogger/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/pulls/24","id":169310967,"html_url":"https://github.com/ytake/Laravel-FluentLogger/pull/24","diff_url":"https://github.com/ytake/Laravel-FluentLogger/pull/24.diff","patch_url":"https://github.com/ytake/Laravel-FluentLogger/pull/24.patch","issue_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/issues/24","number":24,"state":"open","locked":false,"title":"Added support for laravel 5.6","user":{"login":"duxthefux","id":6758162,"avatar_url":"https://avatars2.githubusercontent.com/u/6758162?v=4","gravatar_id":"","url":"https://api.github.com/users/duxthefux","html_url":"https://github.com/duxthefux","followers_url":"https://api.github.com/users/duxthefux/followers","following_url":"https://api.github.com/users/duxthefux/following{/other_user}","gists_url":"https://api.github.com/users/duxthefux/gists{/gist_id}","starred_url":"https://api.github.com/users/duxthefux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duxthefux/subscriptions","organizations_url":"https://api.github.com/users/duxthefux/orgs","repos_url":"https://api.github.com/users/duxthefux/repos","events_url":"https://api.github.com/users/duxthefux/events{/privacy}","received_events_url":"https://api.github.com/users/duxthefux/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-15T08:39:16Z","updated_at":"2018-02-15T08:48:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ba82905fc81ad43d4750bb26cf108cd9ef47b1b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/pulls/24/commits","review_comments_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/pulls/24/comments","review_comment_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/issues/24/comments","statuses_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/statuses/45e2ffc4cbe137020ac2868c6e43a92317cb20fb","head":{"label":"ready2order:laravel-5.6","ref":"laravel-5.6","sha":"45e2ffc4cbe137020ac2868c6e43a92317cb20fb","user":{"login":"ready2order","id":31745474,"avatar_url":"https://avatars2.githubusercontent.com/u/31745474?v=4","gravatar_id":"","url":"https://api.github.com/users/ready2order","html_url":"https://github.com/ready2order","followers_url":"https://api.github.com/users/ready2order/followers","following_url":"https://api.github.com/users/ready2order/following{/other_user}","gists_url":"https://api.github.com/users/ready2order/gists{/gist_id}","starred_url":"https://api.github.com/users/ready2order/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ready2order/subscriptions","organizations_url":"https://api.github.com/users/ready2order/orgs","repos_url":"https://api.github.com/users/ready2order/repos","events_url":"https://api.github.com/users/ready2order/events{/privacy}","received_events_url":"https://api.github.com/users/ready2order/received_events","type":"Organization","site_admin":false},"repo":{"id":121510920,"name":"Laravel-FluentLogger","full_name":"ready2order/Laravel-FluentLogger","owner":{"login":"ready2order","id":31745474,"avatar_url":"https://avatars2.githubusercontent.com/u/31745474?v=4","gravatar_id":"","url":"https://api.github.com/users/ready2order","html_url":"https://github.com/ready2order","followers_url":"https://api.github.com/users/ready2order/followers","following_url":"https://api.github.com/users/ready2order/following{/other_user}","gists_url":"https://api.github.com/users/ready2order/gists{/gist_id}","starred_url":"https://api.github.com/users/ready2order/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ready2order/subscriptions","organizations_url":"https://api.github.com/users/ready2order/orgs","repos_url":"https://api.github.com/users/ready2order/repos","events_url":"https://api.github.com/users/ready2order/events{/privacy}","received_events_url":"https://api.github.com/users/ready2order/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ready2order/Laravel-FluentLogger","description":"fluent logger for laravel (with Monolog handler for Fluentd)","fork":true,"url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger","forks_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/forks","keys_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/teams","hooks_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/hooks","issue_events_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/issues/events{/number}","events_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/events","assignees_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/assignees{/user}","branches_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/branches{/branch}","tags_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/tags","blobs_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/git/refs{/sha}","trees_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/statuses/{sha}","languages_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/languages","stargazers_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/stargazers","contributors_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/contributors","subscribers_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/subscribers","subscription_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/subscription","commits_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/commits{/sha}","git_commits_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/git/commits{/sha}","comments_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/comments{/number}","issue_comment_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/issues/comments{/number}","contents_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/contents/{+path}","compare_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/merges","archive_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/downloads","issues_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/issues{/number}","pulls_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/pulls{/number}","milestones_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/milestones{/number}","notifications_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/labels{/name}","releases_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/releases{/id}","deployments_url":"https://api.github.com/repos/ready2order/Laravel-FluentLogger/deployments","created_at":"2018-02-14T12:58:01Z","updated_at":"2018-02-14T12:58:03Z","pushed_at":"2018-02-15T08:48:26Z","git_url":"git://github.com/ready2order/Laravel-FluentLogger.git","ssh_url":"git@github.com:ready2order/Laravel-FluentLogger.git","clone_url":"https://github.com/ready2order/Laravel-FluentLogger.git","svn_url":"https://github.com/ready2order/Laravel-FluentLogger","homepage":"","size":40,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ytake:master","ref":"master","sha":"69d7862c47a609a6f3d077034f492379af5e413f","user":{"login":"ytake","id":4454078,"avatar_url":"https://avatars3.githubusercontent.com/u/4454078?v=4","gravatar_id":"","url":"https://api.github.com/users/ytake","html_url":"https://github.com/ytake","followers_url":"https://api.github.com/users/ytake/followers","following_url":"https://api.github.com/users/ytake/following{/other_user}","gists_url":"https://api.github.com/users/ytake/gists{/gist_id}","starred_url":"https://api.github.com/users/ytake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ytake/subscriptions","organizations_url":"https://api.github.com/users/ytake/orgs","repos_url":"https://api.github.com/users/ytake/repos","events_url":"https://api.github.com/users/ytake/events{/privacy}","received_events_url":"https://api.github.com/users/ytake/received_events","type":"User","site_admin":false},"repo":{"id":45625024,"name":"Laravel-FluentLogger","full_name":"ytake/Laravel-FluentLogger","owner":{"login":"ytake","id":4454078,"avatar_url":"https://avatars3.githubusercontent.com/u/4454078?v=4","gravatar_id":"","url":"https://api.github.com/users/ytake","html_url":"https://github.com/ytake","followers_url":"https://api.github.com/users/ytake/followers","following_url":"https://api.github.com/users/ytake/following{/other_user}","gists_url":"https://api.github.com/users/ytake/gists{/gist_id}","starred_url":"https://api.github.com/users/ytake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ytake/subscriptions","organizations_url":"https://api.github.com/users/ytake/orgs","repos_url":"https://api.github.com/users/ytake/repos","events_url":"https://api.github.com/users/ytake/events{/privacy}","received_events_url":"https://api.github.com/users/ytake/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ytake/Laravel-FluentLogger","description":"fluent logger for laravel (with Monolog handler for Fluentd)","fork":false,"url":"https://api.github.com/repos/ytake/Laravel-FluentLogger","forks_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/forks","keys_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/teams","hooks_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/hooks","issue_events_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/issues/events{/number}","events_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/events","assignees_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/assignees{/user}","branches_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/branches{/branch}","tags_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/tags","blobs_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/git/refs{/sha}","trees_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/statuses/{sha}","languages_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/languages","stargazers_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/stargazers","contributors_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/contributors","subscribers_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/subscribers","subscription_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/subscription","commits_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/commits{/sha}","git_commits_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/git/commits{/sha}","comments_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/comments{/number}","issue_comment_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/issues/comments{/number}","contents_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/contents/{+path}","compare_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/merges","archive_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/downloads","issues_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/issues{/number}","pulls_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/pulls{/number}","milestones_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/milestones{/number}","notifications_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/labels{/name}","releases_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/releases{/id}","deployments_url":"https://api.github.com/repos/ytake/Laravel-FluentLogger/deployments","created_at":"2015-11-05T16:45:14Z","updated_at":"2018-01-09T17:48:39Z","pushed_at":"2018-02-15T08:48:27Z","git_url":"git://github.com/ytake/Laravel-FluentLogger.git","ssh_url":"git@github.com:ytake/Laravel-FluentLogger.git","clone_url":"https://github.com/ytake/Laravel-FluentLogger.git","svn_url":"https://github.com/ytake/Laravel-FluentLogger","homepage":"","size":40,"stargazers_count":19,"watchers_count":19,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":6,"open_issues":3,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ytake/Laravel-FluentLogger/pulls/24"},"html":{"href":"https://github.com/ytake/Laravel-FluentLogger/pull/24"},"issue":{"href":"https://api.github.com/repos/ytake/Laravel-FluentLogger/issues/24"},"comments":{"href":"https://api.github.com/repos/ytake/Laravel-FluentLogger/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/ytake/Laravel-FluentLogger/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/ytake/Laravel-FluentLogger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ytake/Laravel-FluentLogger/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/ytake/Laravel-FluentLogger/statuses/45e2ffc4cbe137020ac2868c6e43a92317cb20fb"}},"author_association":"NONE"}}
{"actor":{"display_login":"Nitpick-CI"}}