{"action":"created","comment":{"url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/pulls/comments/76457542","id":76457542,"diff_hunk":"@@ -0,0 +1,59 @@\n+/*---------------------------------------------------------------------------------------------\n+ *  Copyright (c) Microsoft Corporation. All rights reserved.\n+ *  Licensed under the MIT License. See License.txt in the project root for license information.\n+ *--------------------------------------------------------------------------------------------*/\n+\n+'use strict';\n+\n+export class Logger {\n+    private _writer: (message: string) => void;\n+    private _prefix: string;\n+\n+    private _indent: string = '    ';\n+    private _indentLevel: number = 0;\n+    private _atLineStart: boolean = false;\n+\n+    constructor(writer: (message: string) => void, prefix?: string) {\n+        this._writer = writer;\n+        this._prefix = prefix;\n+    }\n+\n+    private _appendCore(message: string): void {\n+        if (this._atLineStart) {\n+            if (this._indentLevel > 0) {","path":"src/omnisharp/logger.ts","position":23,"original_position":23,"commit_id":"833ea9f5d801fb6fa006a7c9c99ac56dd5241222","original_commit_id":"833ea9f5d801fb6fa006a7c9c99ac56dd5241222","user":{"login":"gregg-miskelly","id":11078489,"avatar_url":"https://avatars.githubusercontent.com/u/11078489?v=3","gravatar_id":"","url":"https://api.github.com/users/gregg-miskelly","html_url":"https://github.com/gregg-miskelly","followers_url":"https://api.github.com/users/gregg-miskelly/followers","following_url":"https://api.github.com/users/gregg-miskelly/following{/other_user}","gists_url":"https://api.github.com/users/gregg-miskelly/gists{/gist_id}","starred_url":"https://api.github.com/users/gregg-miskelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregg-miskelly/subscriptions","organizations_url":"https://api.github.com/users/gregg-miskelly/orgs","repos_url":"https://api.github.com/users/gregg-miskelly/repos","events_url":"https://api.github.com/users/gregg-miskelly/events{/privacy}","received_events_url":"https://api.github.com/users/gregg-miskelly/received_events","type":"User","site_admin":false},"body":"Shouldn't we really be taking a dependency on leftpad here :)","created_at":"2016-08-26T17:37:46Z","updated_at":"2016-08-26T17:37:46Z","html_url":"https://github.com/OmniSharp/omnisharp-vscode/pull/720#discussion_r76457542","pull_request_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/pulls/720","_links":{"self":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/pulls/comments/76457542"},"html":{"href":"https://github.com/OmniSharp/omnisharp-vscode/pull/720#discussion_r76457542"},"pull_request":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/pulls/720"}}},"pull_request":{"url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/pulls/720","id":82924880,"html_url":"https://github.com/OmniSharp/omnisharp-vscode/pull/720","diff_url":"https://github.com/OmniSharp/omnisharp-vscode/pull/720.diff","patch_url":"https://github.com/OmniSharp/omnisharp-vscode/pull/720.patch","issue_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/720","number":720,"state":"open","locked":false,"title":"Improve OmniSharp server logging","user":{"login":"DustinCampbell","id":116161,"avatar_url":"https://avatars.githubusercontent.com/u/116161?v=3","gravatar_id":"","url":"https://api.github.com/users/DustinCampbell","html_url":"https://github.com/DustinCampbell","followers_url":"https://api.github.com/users/DustinCampbell/followers","following_url":"https://api.github.com/users/DustinCampbell/following{/other_user}","gists_url":"https://api.github.com/users/DustinCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/DustinCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DustinCampbell/subscriptions","organizations_url":"https://api.github.com/users/DustinCampbell/orgs","repos_url":"https://api.github.com/users/DustinCampbell/repos","events_url":"https://api.github.com/users/DustinCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/DustinCampbell/received_events","type":"User","site_admin":false},"body":"Fixes #560\r\n\r\nInitially, I'd just set out to add a timestamp to the OmniSharp server log for #560, but ended up rationalizing logging during the server start up and download steps.","created_at":"2016-08-26T17:32:26Z","updated_at":"2016-08-26T17:37:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f058088c5bb7cab6608402aba8eb4b4018063b9d","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/milestones/6","html_url":"https://github.com/OmniSharp/omnisharp-vscode/milestones/1.4","labels_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/milestones/6/labels","id":1868361,"number":6,"title":"1.4","description":"","creator":{"login":"DustinCampbell","id":116161,"avatar_url":"https://avatars.githubusercontent.com/u/116161?v=3","gravatar_id":"","url":"https://api.github.com/users/DustinCampbell","html_url":"https://github.com/DustinCampbell","followers_url":"https://api.github.com/users/DustinCampbell/followers","following_url":"https://api.github.com/users/DustinCampbell/following{/other_user}","gists_url":"https://api.github.com/users/DustinCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/DustinCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DustinCampbell/subscriptions","organizations_url":"https://api.github.com/users/DustinCampbell/orgs","repos_url":"https://api.github.com/users/DustinCampbell/repos","events_url":"https://api.github.com/users/DustinCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/DustinCampbell/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":34,"state":"open","created_at":"2016-07-06T19:20:30Z","updated_at":"2016-08-26T17:33:45Z","due_on":"2016-08-29T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/pulls/720/commits","review_comments_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/pulls/720/comments","review_comment_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/720/comments","statuses_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/statuses/833ea9f5d801fb6fa006a7c9c99ac56dd5241222","head":{"label":"DustinCampbell:omnisharp-logging","ref":"omnisharp-logging","sha":"833ea9f5d801fb6fa006a7c9c99ac56dd5241222","user":{"login":"DustinCampbell","id":116161,"avatar_url":"https://avatars.githubusercontent.com/u/116161?v=3","gravatar_id":"","url":"https://api.github.com/users/DustinCampbell","html_url":"https://github.com/DustinCampbell","followers_url":"https://api.github.com/users/DustinCampbell/followers","following_url":"https://api.github.com/users/DustinCampbell/following{/other_user}","gists_url":"https://api.github.com/users/DustinCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/DustinCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DustinCampbell/subscriptions","organizations_url":"https://api.github.com/users/DustinCampbell/orgs","repos_url":"https://api.github.com/users/DustinCampbell/repos","events_url":"https://api.github.com/users/DustinCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/DustinCampbell/received_events","type":"User","site_admin":false},"repo":{"id":50045395,"name":"omnisharp-vscode","full_name":"DustinCampbell/omnisharp-vscode","owner":{"login":"DustinCampbell","id":116161,"avatar_url":"https://avatars.githubusercontent.com/u/116161?v=3","gravatar_id":"","url":"https://api.github.com/users/DustinCampbell","html_url":"https://github.com/DustinCampbell","followers_url":"https://api.github.com/users/DustinCampbell/followers","following_url":"https://api.github.com/users/DustinCampbell/following{/other_user}","gists_url":"https://api.github.com/users/DustinCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/DustinCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DustinCampbell/subscriptions","organizations_url":"https://api.github.com/users/DustinCampbell/orgs","repos_url":"https://api.github.com/users/DustinCampbell/repos","events_url":"https://api.github.com/users/DustinCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/DustinCampbell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DustinCampbell/omnisharp-vscode","description":"Omnisharp goodness for VS Code","fork":true,"url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode","forks_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/forks","keys_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/teams","hooks_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/hooks","issue_events_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/issues/events{/number}","events_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/events","assignees_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/assignees{/user}","branches_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/branches{/branch}","tags_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/tags","blobs_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/git/refs{/sha}","trees_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/statuses/{sha}","languages_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/languages","stargazers_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/stargazers","contributors_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/contributors","subscribers_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/subscribers","subscription_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/subscription","commits_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/commits{/sha}","git_commits_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/git/commits{/sha}","comments_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/comments{/number}","issue_comment_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/issues/comments{/number}","contents_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/contents/{+path}","compare_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/merges","archive_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/downloads","issues_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/issues{/number}","pulls_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/pulls{/number}","milestones_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/milestones{/number}","notifications_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/labels{/name}","releases_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/releases{/id}","deployments_url":"https://api.github.com/repos/DustinCampbell/omnisharp-vscode/deployments","created_at":"2016-01-20T17:03:00Z","updated_at":"2016-01-20T17:03:00Z","pushed_at":"2016-08-26T17:30:28Z","git_url":"git://github.com/DustinCampbell/omnisharp-vscode.git","ssh_url":"git@github.com:DustinCampbell/omnisharp-vscode.git","clone_url":"https://github.com/DustinCampbell/omnisharp-vscode.git","svn_url":"https://github.com/DustinCampbell/omnisharp-vscode","homepage":null,"size":550,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":"OmniSharp:master","ref":"master","sha":"6a939871dc0bfc7ad8a79e19d7f48e1a2f0efacf","user":{"login":"OmniSharp","id":9420663,"avatar_url":"https://avatars.githubusercontent.com/u/9420663?v=3","gravatar_id":"","url":"https://api.github.com/users/OmniSharp","html_url":"https://github.com/OmniSharp","followers_url":"https://api.github.com/users/OmniSharp/followers","following_url":"https://api.github.com/users/OmniSharp/following{/other_user}","gists_url":"https://api.github.com/users/OmniSharp/gists{/gist_id}","starred_url":"https://api.github.com/users/OmniSharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmniSharp/subscriptions","organizations_url":"https://api.github.com/users/OmniSharp/orgs","repos_url":"https://api.github.com/users/OmniSharp/repos","events_url":"https://api.github.com/users/OmniSharp/events{/privacy}","received_events_url":"https://api.github.com/users/OmniSharp/received_events","type":"Organization","site_admin":false},"repo":{"id":47341961,"name":"omnisharp-vscode","full_name":"OmniSharp/omnisharp-vscode","owner":{"login":"OmniSharp","id":9420663,"avatar_url":"https://avatars.githubusercontent.com/u/9420663?v=3","gravatar_id":"","url":"https://api.github.com/users/OmniSharp","html_url":"https://github.com/OmniSharp","followers_url":"https://api.github.com/users/OmniSharp/followers","following_url":"https://api.github.com/users/OmniSharp/following{/other_user}","gists_url":"https://api.github.com/users/OmniSharp/gists{/gist_id}","starred_url":"https://api.github.com/users/OmniSharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmniSharp/subscriptions","organizations_url":"https://api.github.com/users/OmniSharp/orgs","repos_url":"https://api.github.com/users/OmniSharp/repos","events_url":"https://api.github.com/users/OmniSharp/events{/privacy}","received_events_url":"https://api.github.com/users/OmniSharp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OmniSharp/omnisharp-vscode","description":"Official C# support for Visual Studio Code (powered by OmniSharp)","fork":false,"url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode","forks_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/forks","keys_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/teams","hooks_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/hooks","issue_events_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/events{/number}","events_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/events","assignees_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/assignees{/user}","branches_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/branches{/branch}","tags_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/tags","blobs_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/git/refs{/sha}","trees_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/statuses/{sha}","languages_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/languages","stargazers_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/stargazers","contributors_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/contributors","subscribers_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/subscribers","subscription_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/subscription","commits_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/commits{/sha}","git_commits_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/git/commits{/sha}","comments_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/comments{/number}","issue_comment_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/comments{/number}","contents_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/contents/{+path}","compare_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/merges","archive_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/downloads","issues_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues{/number}","pulls_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/pulls{/number}","milestones_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/milestones{/number}","notifications_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/labels{/name}","releases_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/releases{/id}","deployments_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/deployments","created_at":"2015-12-03T15:45:21Z","updated_at":"2016-08-25T15:00:22Z","pushed_at":"2016-08-26T17:33:32Z","git_url":"git://github.com/OmniSharp/omnisharp-vscode.git","ssh_url":"git@github.com:OmniSharp/omnisharp-vscode.git","clone_url":"https://github.com/OmniSharp/omnisharp-vscode.git","svn_url":"https://github.com/OmniSharp/omnisharp-vscode","homepage":"","size":689,"stargazers_count":230,"watchers_count":230,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":83,"mirror_url":null,"open_issues_count":205,"forks":83,"open_issues":205,"watchers":230,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/pulls/720"},"html":{"href":"https://github.com/OmniSharp/omnisharp-vscode/pull/720"},"issue":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/720"},"comments":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/720/comments"},"review_comments":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/pulls/720/comments"},"review_comment":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/pulls/720/commits"},"statuses":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/statuses/833ea9f5d801fb6fa006a7c9c99ac56dd5241222"}}}}
{"actor":{"display_login":"gregg-miskelly"}}