{"action":"created","comment":{"url":"https://api.github.com/repos/akka/akka/pulls/comments/73168476","id":73168476,"diff_hunk":"@@ -0,0 +1,63 @@\n+/*\n+ * Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>\n+ */\n+\n+package docs.http.scaladsl.server.directives\n+\n+import akka.actor.ActorSystem\n+import akka.event.{LoggingAdapter, Logging}\n+import akka.event.Logging.LogLevel\n+import akka.http.scaladsl.Http\n+import akka.http.scaladsl.model.HttpRequest\n+import akka.http.scaladsl.server.Route\n+import akka.http.scaladsl.server.RouteResult.Complete\n+import akka.stream.{Materializer, ActorMaterializer}\n+import com.knoldus.logging.routes.KnoldusRoutingService\n+import akka.http.scaladsl.server.directives.{LoggingMagnet, LogEntry, DebuggingDirectives}\n+import pl.project13.scala.rainbow.Rainbow\n+import scala.concurrent.ExecutionContext.Implicits.global\n+import Rainbow._\n+\n+import scala.concurrent.ExecutionContext\n+\n+\n+//This example shows how to log client request and response time using DebuggingDirective\n+\n+class DebuggingDirectiveExtendedExample(implicit val system: ActorSystem,","path":"akka-docs/rst/scala/code/docs/http/scaladsl/server/directives/DebuggingDirectiveExtendedExample.scala","position":26,"original_position":26,"commit_id":"f44ecd2f84962e60150dba4d7862cf3085c5f661","original_commit_id":"f44ecd2f84962e60150dba4d7862cf3085c5f661","user":{"login":"ktoso","id":120979,"avatar_url":"https://avatars.githubusercontent.com/u/120979?v=3","gravatar_id":"","url":"https://api.github.com/users/ktoso","html_url":"https://github.com/ktoso","followers_url":"https://api.github.com/users/ktoso/followers","following_url":"https://api.github.com/users/ktoso/following{/other_user}","gists_url":"https://api.github.com/users/ktoso/gists{/gist_id}","starred_url":"https://api.github.com/users/ktoso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktoso/subscriptions","organizations_url":"https://api.github.com/users/ktoso/orgs","repos_url":"https://api.github.com/users/ktoso/repos","events_url":"https://api.github.com/users/ktoso/events{/privacy}","received_events_url":"https://api.github.com/users/ktoso/received_events","type":"User","site_admin":false},"body":"ExampleSpec, and it should test it actually does what it's supposed to.","created_at":"2016-08-02T14:44:44Z","updated_at":"2016-08-02T14:44:44Z","html_url":"https://github.com/akka/akka/pull/21091#discussion_r73168476","pull_request_url":"https://api.github.com/repos/akka/akka/pulls/21091","_links":{"self":{"href":"https://api.github.com/repos/akka/akka/pulls/comments/73168476"},"html":{"href":"https://github.com/akka/akka/pull/21091#discussion_r73168476"},"pull_request":{"href":"https://api.github.com/repos/akka/akka/pulls/21091"}}},"pull_request":{"url":"https://api.github.com/repos/akka/akka/pulls/21091","id":79709844,"html_url":"https://github.com/akka/akka/pull/21091","diff_url":"https://github.com/akka/akka/pull/21091.diff","patch_url":"https://github.com/akka/akka/pull/21091.patch","issue_url":"https://api.github.com/repos/akka/akka/issues/21091","number":21091,"state":"open","locked":false,"title":"Added the extended example for DebuggingDirective #21090","user":{"login":"shiv4nsh","id":12807854,"avatar_url":"https://avatars.githubusercontent.com/u/12807854?v=3","gravatar_id":"","url":"https://api.github.com/users/shiv4nsh","html_url":"https://github.com/shiv4nsh","followers_url":"https://api.github.com/users/shiv4nsh/followers","following_url":"https://api.github.com/users/shiv4nsh/following{/other_user}","gists_url":"https://api.github.com/users/shiv4nsh/gists{/gist_id}","starred_url":"https://api.github.com/users/shiv4nsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiv4nsh/subscriptions","organizations_url":"https://api.github.com/users/shiv4nsh/orgs","repos_url":"https://api.github.com/users/shiv4nsh/repos","events_url":"https://api.github.com/users/shiv4nsh/events{/privacy}","received_events_url":"https://api.github.com/users/shiv4nsh/received_events","type":"User","site_admin":false},"body":"Added the example and added the link to the documentation.","created_at":"2016-08-02T10:16:15Z","updated_at":"2016-08-02T14:44:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21b8e2f70da451b79edb59174d6b5eb567739a52","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/akka/akka/pulls/21091/commits","review_comments_url":"https://api.github.com/repos/akka/akka/pulls/21091/comments","review_comment_url":"https://api.github.com/repos/akka/akka/pulls/comments{/number}","comments_url":"https://api.github.com/repos/akka/akka/issues/21091/comments","statuses_url":"https://api.github.com/repos/akka/akka/statuses/f44ecd2f84962e60150dba4d7862cf3085c5f661","head":{"label":"shiv4nsh:master","ref":"master","sha":"f44ecd2f84962e60150dba4d7862cf3085c5f661","user":{"login":"shiv4nsh","id":12807854,"avatar_url":"https://avatars.githubusercontent.com/u/12807854?v=3","gravatar_id":"","url":"https://api.github.com/users/shiv4nsh","html_url":"https://github.com/shiv4nsh","followers_url":"https://api.github.com/users/shiv4nsh/followers","following_url":"https://api.github.com/users/shiv4nsh/following{/other_user}","gists_url":"https://api.github.com/users/shiv4nsh/gists{/gist_id}","starred_url":"https://api.github.com/users/shiv4nsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiv4nsh/subscriptions","organizations_url":"https://api.github.com/users/shiv4nsh/orgs","repos_url":"https://api.github.com/users/shiv4nsh/repos","events_url":"https://api.github.com/users/shiv4nsh/events{/privacy}","received_events_url":"https://api.github.com/users/shiv4nsh/received_events","type":"User","site_admin":false},"repo":{"id":64733610,"name":"akka","full_name":"shiv4nsh/akka","owner":{"login":"shiv4nsh","id":12807854,"avatar_url":"https://avatars.githubusercontent.com/u/12807854?v=3","gravatar_id":"","url":"https://api.github.com/users/shiv4nsh","html_url":"https://github.com/shiv4nsh","followers_url":"https://api.github.com/users/shiv4nsh/followers","following_url":"https://api.github.com/users/shiv4nsh/following{/other_user}","gists_url":"https://api.github.com/users/shiv4nsh/gists{/gist_id}","starred_url":"https://api.github.com/users/shiv4nsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiv4nsh/subscriptions","organizations_url":"https://api.github.com/users/shiv4nsh/orgs","repos_url":"https://api.github.com/users/shiv4nsh/repos","events_url":"https://api.github.com/users/shiv4nsh/events{/privacy}","received_events_url":"https://api.github.com/users/shiv4nsh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shiv4nsh/akka","description":"Akka Project","fork":true,"url":"https://api.github.com/repos/shiv4nsh/akka","forks_url":"https://api.github.com/repos/shiv4nsh/akka/forks","keys_url":"https://api.github.com/repos/shiv4nsh/akka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shiv4nsh/akka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shiv4nsh/akka/teams","hooks_url":"https://api.github.com/repos/shiv4nsh/akka/hooks","issue_events_url":"https://api.github.com/repos/shiv4nsh/akka/issues/events{/number}","events_url":"https://api.github.com/repos/shiv4nsh/akka/events","assignees_url":"https://api.github.com/repos/shiv4nsh/akka/assignees{/user}","branches_url":"https://api.github.com/repos/shiv4nsh/akka/branches{/branch}","tags_url":"https://api.github.com/repos/shiv4nsh/akka/tags","blobs_url":"https://api.github.com/repos/shiv4nsh/akka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shiv4nsh/akka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shiv4nsh/akka/git/refs{/sha}","trees_url":"https://api.github.com/repos/shiv4nsh/akka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shiv4nsh/akka/statuses/{sha}","languages_url":"https://api.github.com/repos/shiv4nsh/akka/languages","stargazers_url":"https://api.github.com/repos/shiv4nsh/akka/stargazers","contributors_url":"https://api.github.com/repos/shiv4nsh/akka/contributors","subscribers_url":"https://api.github.com/repos/shiv4nsh/akka/subscribers","subscription_url":"https://api.github.com/repos/shiv4nsh/akka/subscription","commits_url":"https://api.github.com/repos/shiv4nsh/akka/commits{/sha}","git_commits_url":"https://api.github.com/repos/shiv4nsh/akka/git/commits{/sha}","comments_url":"https://api.github.com/repos/shiv4nsh/akka/comments{/number}","issue_comment_url":"https://api.github.com/repos/shiv4nsh/akka/issues/comments{/number}","contents_url":"https://api.github.com/repos/shiv4nsh/akka/contents/{+path}","compare_url":"https://api.github.com/repos/shiv4nsh/akka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shiv4nsh/akka/merges","archive_url":"https://api.github.com/repos/shiv4nsh/akka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shiv4nsh/akka/downloads","issues_url":"https://api.github.com/repos/shiv4nsh/akka/issues{/number}","pulls_url":"https://api.github.com/repos/shiv4nsh/akka/pulls{/number}","milestones_url":"https://api.github.com/repos/shiv4nsh/akka/milestones{/number}","notifications_url":"https://api.github.com/repos/shiv4nsh/akka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shiv4nsh/akka/labels{/name}","releases_url":"https://api.github.com/repos/shiv4nsh/akka/releases{/id}","deployments_url":"https://api.github.com/repos/shiv4nsh/akka/deployments","created_at":"2016-08-02T07:13:08Z","updated_at":"2016-08-02T07:13:22Z","pushed_at":"2016-08-02T11:00:41Z","git_url":"git://github.com/shiv4nsh/akka.git","ssh_url":"git@github.com:shiv4nsh/akka.git","clone_url":"https://github.com/shiv4nsh/akka.git","svn_url":"https://github.com/shiv4nsh/akka","homepage":"http://akka.io","size":188838,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"akka:master","ref":"master","sha":"8e71346295e1a239db1d0c74be541004203d66b8","user":{"login":"akka","id":1496237,"avatar_url":"https://avatars.githubusercontent.com/u/1496237?v=3","gravatar_id":"","url":"https://api.github.com/users/akka","html_url":"https://github.com/akka","followers_url":"https://api.github.com/users/akka/followers","following_url":"https://api.github.com/users/akka/following{/other_user}","gists_url":"https://api.github.com/users/akka/gists{/gist_id}","starred_url":"https://api.github.com/users/akka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akka/subscriptions","organizations_url":"https://api.github.com/users/akka/orgs","repos_url":"https://api.github.com/users/akka/repos","events_url":"https://api.github.com/users/akka/events{/privacy}","received_events_url":"https://api.github.com/users/akka/received_events","type":"Organization","site_admin":false},"repo":{"id":130013,"name":"akka","full_name":"akka/akka","owner":{"login":"akka","id":1496237,"avatar_url":"https://avatars.githubusercontent.com/u/1496237?v=3","gravatar_id":"","url":"https://api.github.com/users/akka","html_url":"https://github.com/akka","followers_url":"https://api.github.com/users/akka/followers","following_url":"https://api.github.com/users/akka/following{/other_user}","gists_url":"https://api.github.com/users/akka/gists{/gist_id}","starred_url":"https://api.github.com/users/akka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akka/subscriptions","organizations_url":"https://api.github.com/users/akka/orgs","repos_url":"https://api.github.com/users/akka/repos","events_url":"https://api.github.com/users/akka/events{/privacy}","received_events_url":"https://api.github.com/users/akka/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/akka/akka","description":"Akka Project","fork":false,"url":"https://api.github.com/repos/akka/akka","forks_url":"https://api.github.com/repos/akka/akka/forks","keys_url":"https://api.github.com/repos/akka/akka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akka/akka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akka/akka/teams","hooks_url":"https://api.github.com/repos/akka/akka/hooks","issue_events_url":"https://api.github.com/repos/akka/akka/issues/events{/number}","events_url":"https://api.github.com/repos/akka/akka/events","assignees_url":"https://api.github.com/repos/akka/akka/assignees{/user}","branches_url":"https://api.github.com/repos/akka/akka/branches{/branch}","tags_url":"https://api.github.com/repos/akka/akka/tags","blobs_url":"https://api.github.com/repos/akka/akka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akka/akka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akka/akka/git/refs{/sha}","trees_url":"https://api.github.com/repos/akka/akka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akka/akka/statuses/{sha}","languages_url":"https://api.github.com/repos/akka/akka/languages","stargazers_url":"https://api.github.com/repos/akka/akka/stargazers","contributors_url":"https://api.github.com/repos/akka/akka/contributors","subscribers_url":"https://api.github.com/repos/akka/akka/subscribers","subscription_url":"https://api.github.com/repos/akka/akka/subscription","commits_url":"https://api.github.com/repos/akka/akka/commits{/sha}","git_commits_url":"https://api.github.com/repos/akka/akka/git/commits{/sha}","comments_url":"https://api.github.com/repos/akka/akka/comments{/number}","issue_comment_url":"https://api.github.com/repos/akka/akka/issues/comments{/number}","contents_url":"https://api.github.com/repos/akka/akka/contents/{+path}","compare_url":"https://api.github.com/repos/akka/akka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akka/akka/merges","archive_url":"https://api.github.com/repos/akka/akka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akka/akka/downloads","issues_url":"https://api.github.com/repos/akka/akka/issues{/number}","pulls_url":"https://api.github.com/repos/akka/akka/pulls{/number}","milestones_url":"https://api.github.com/repos/akka/akka/milestones{/number}","notifications_url":"https://api.github.com/repos/akka/akka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akka/akka/labels{/name}","releases_url":"https://api.github.com/repos/akka/akka/releases{/id}","deployments_url":"https://api.github.com/repos/akka/akka/deployments","created_at":"2009-02-16T12:51:54Z","updated_at":"2016-08-02T08:49:45Z","pushed_at":"2016-08-02T13:59:59Z","git_url":"git://github.com/akka/akka.git","ssh_url":"git@github.com:akka/akka.git","clone_url":"https://github.com/akka/akka.git","svn_url":"https://github.com/akka/akka","homepage":"http://akka.io","size":227243,"stargazers_count":5836,"watchers_count":5836,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1845,"mirror_url":null,"open_issues_count":686,"forks":1845,"open_issues":686,"watchers":5836,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/akka/akka/pulls/21091"},"html":{"href":"https://github.com/akka/akka/pull/21091"},"issue":{"href":"https://api.github.com/repos/akka/akka/issues/21091"},"comments":{"href":"https://api.github.com/repos/akka/akka/issues/21091/comments"},"review_comments":{"href":"https://api.github.com/repos/akka/akka/pulls/21091/comments"},"review_comment":{"href":"https://api.github.com/repos/akka/akka/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/akka/akka/pulls/21091/commits"},"statuses":{"href":"https://api.github.com/repos/akka/akka/statuses/f44ecd2f84962e60150dba4d7862cf3085c5f661"}}}}
{"actor":{"display_login":"ktoso"}}