{"action":"created","issue":{"url":"https://api.github.com/repos/winstonjs/winston-loggly/issues/27","labels_url":"https://api.github.com/repos/winstonjs/winston-loggly/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/winstonjs/winston-loggly/issues/27/comments","events_url":"https://api.github.com/repos/winstonjs/winston-loggly/issues/27/events","html_url":"https://github.com/winstonjs/winston-loggly/issues/27","id":70632722,"number":27,"title":"Logging object","user":{"login":"dariospadoni","id":674903,"avatar_url":"https://avatars.githubusercontent.com/u/674903?v=3","gravatar_id":"","url":"https://api.github.com/users/dariospadoni","html_url":"https://github.com/dariospadoni","followers_url":"https://api.github.com/users/dariospadoni/followers","following_url":"https://api.github.com/users/dariospadoni/following{/other_user}","gists_url":"https://api.github.com/users/dariospadoni/gists{/gist_id}","starred_url":"https://api.github.com/users/dariospadoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dariospadoni/subscriptions","organizations_url":"https://api.github.com/users/dariospadoni/orgs","repos_url":"https://api.github.com/users/dariospadoni/repos","events_url":"https://api.github.com/users/dariospadoni/events{/privacy}","received_events_url":"https://api.github.com/users/dariospadoni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-24T09:05:00Z","updated_at":"2015-08-03T00:08:08Z","closed_at":null,"body":"Hello\r\nIs logging of objects/json supported? \r\nWinston allows to log something like this:\r\n\r\n``` winston.log('info', 'Test Log Message', { anything: 'This is metadata' })```\r\n\r\nbut I don't see any logs into loggly unless I pass only string as parameter. So if error is a JSON object, this will not be logged:\r\n\r\n``` logger.error 'Error creating order', error ```\r\n\r\nunless I explicitly call .toString() on error object.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/winstonjs/winston-loggly/issues/comments/127086643","html_url":"https://github.com/winstonjs/winston-loggly/issues/27#issuecomment-127086643","issue_url":"https://api.github.com/repos/winstonjs/winston-loggly/issues/27","id":127086643,"user":{"login":"pcothenet","id":1460006,"avatar_url":"https://avatars.githubusercontent.com/u/1460006?v=3","gravatar_id":"","url":"https://api.github.com/users/pcothenet","html_url":"https://github.com/pcothenet","followers_url":"https://api.github.com/users/pcothenet/followers","following_url":"https://api.github.com/users/pcothenet/following{/other_user}","gists_url":"https://api.github.com/users/pcothenet/gists{/gist_id}","starred_url":"https://api.github.com/users/pcothenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcothenet/subscriptions","organizations_url":"https://api.github.com/users/pcothenet/orgs","repos_url":"https://api.github.com/users/pcothenet/repos","events_url":"https://api.github.com/users/pcothenet/events{/privacy}","received_events_url":"https://api.github.com/users/pcothenet/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T00:08:08Z","updated_at":"2015-08-03T00:08:08Z","body":"Stupid question: have you set ``` { json: true }``` in the options (cf. https://github.com/nodejitsu/node-loggly#logging-json-objects) ?"}}