{"action":"created","issue":{"url":"https://api.github.com/repos/peteward44/winston-winlog2/issues/1","labels_url":"https://api.github.com/repos/peteward44/winston-winlog2/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/peteward44/winston-winlog2/issues/1/comments","events_url":"https://api.github.com/repos/peteward44/winston-winlog2/issues/1/events","html_url":"https://github.com/peteward44/winston-winlog2/pull/1","id":126448707,"number":1,"title":"Remove metadata from log when empty","user":{"login":"jbinard","id":2920160,"avatar_url":"https://avatars.githubusercontent.com/u/2920160?v=3","gravatar_id":"","url":"https://api.github.com/users/jbinard","html_url":"https://github.com/jbinard","followers_url":"https://api.github.com/users/jbinard/followers","following_url":"https://api.github.com/users/jbinard/following{/other_user}","gists_url":"https://api.github.com/users/jbinard/gists{/gist_id}","starred_url":"https://api.github.com/users/jbinard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbinard/subscriptions","organizations_url":"https://api.github.com/users/jbinard/orgs","repos_url":"https://api.github.com/users/jbinard/repos","events_url":"https://api.github.com/users/jbinard/events{/privacy}","received_events_url":"https://api.github.com/users/jbinard/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-13T15:50:53Z","updated_at":"2016-01-19T10:26:44Z","closed_at":"2016-01-19T10:26:34Z","pull_request":{"url":"https://api.github.com/repos/peteward44/winston-winlog2/pulls/1","html_url":"https://github.com/peteward44/winston-winlog2/pull/1","diff_url":"https://github.com/peteward44/winston-winlog2/pull/1.diff","patch_url":"https://github.com/peteward44/winston-winlog2/pull/1.patch"},"body":"Remove the metadata object from the log message when empty.\r\n\r\nCurrently, the log is like this:\r\nMy log message metadata: {}\r\n\r\nNow you just have your log message when there is no additional metadata."},"comment":{"url":"https://api.github.com/repos/peteward44/winston-winlog2/issues/comments/172810037","html_url":"https://github.com/peteward44/winston-winlog2/pull/1#issuecomment-172810037","issue_url":"https://api.github.com/repos/peteward44/winston-winlog2/issues/1","id":172810037,"user":{"login":"peteward44","id":6538543,"avatar_url":"https://avatars.githubusercontent.com/u/6538543?v=3","gravatar_id":"","url":"https://api.github.com/users/peteward44","html_url":"https://github.com/peteward44","followers_url":"https://api.github.com/users/peteward44/followers","following_url":"https://api.github.com/users/peteward44/following{/other_user}","gists_url":"https://api.github.com/users/peteward44/gists{/gist_id}","starred_url":"https://api.github.com/users/peteward44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peteward44/subscriptions","organizations_url":"https://api.github.com/users/peteward44/orgs","repos_url":"https://api.github.com/users/peteward44/repos","events_url":"https://api.github.com/users/peteward44/events{/privacy}","received_events_url":"https://api.github.com/users/peteward44/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T10:26:44Z","updated_at":"2016-01-19T10:26:44Z","body":"Thanks"}}