{"action":"created","issue":{"url":"https://api.github.com/repos/NLog/NLog/issues/1016","labels_url":"https://api.github.com/repos/NLog/NLog/issues/1016/labels{/name}","comments_url":"https://api.github.com/repos/NLog/NLog/issues/1016/comments","events_url":"https://api.github.com/repos/NLog/NLog/issues/1016/events","html_url":"https://github.com/NLog/NLog/issues/1016","id":114960685,"number":1016,"title":"Discussion: Overhaul ExceptionRenderer Methods","user":{"login":"Page-Not-Found","id":635337,"avatar_url":"https://avatars.githubusercontent.com/u/635337?v=3","gravatar_id":"","url":"https://api.github.com/users/Page-Not-Found","html_url":"https://github.com/Page-Not-Found","followers_url":"https://api.github.com/users/Page-Not-Found/followers","following_url":"https://api.github.com/users/Page-Not-Found/following{/other_user}","gists_url":"https://api.github.com/users/Page-Not-Found/gists{/gist_id}","starred_url":"https://api.github.com/users/Page-Not-Found/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Page-Not-Found/subscriptions","organizations_url":"https://api.github.com/users/Page-Not-Found/orgs","repos_url":"https://api.github.com/users/Page-Not-Found/repos","events_url":"https://api.github.com/users/Page-Not-Found/events{/privacy}","received_events_url":"https://api.github.com/users/Page-Not-Found/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NLog/NLog/labels/discussion","name":"discussion","color":"006b75"},{"url":"https://api.github.com/repos/NLog/NLog/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-04T03:15:50Z","updated_at":"2015-11-08T20:54:46Z","closed_at":null,"body":"*Modify the Delegates to be func.\r\n\r\nDelegate Definition / Signature:\r\n\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nprivate delegate void ExceptionDataTarget(StringBuilder sb, Exception ex);\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nMethods which will be affected by this\r\n\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nAppendMessage\r\nAppendMethod\r\nAppendStackTrace\r\nAppendToString\r\nAppendType\r\nAppendShortType\r\nAppendData\r\nCompileFormat\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},"comment":{"url":"https://api.github.com/repos/NLog/NLog/issues/comments/154870548","html_url":"https://github.com/NLog/NLog/issues/1016#issuecomment-154870548","issue_url":"https://api.github.com/repos/NLog/NLog/issues/1016","id":154870548,"user":{"login":"Page-Not-Found","id":635337,"avatar_url":"https://avatars.githubusercontent.com/u/635337?v=3","gravatar_id":"","url":"https://api.github.com/users/Page-Not-Found","html_url":"https://github.com/Page-Not-Found","followers_url":"https://api.github.com/users/Page-Not-Found/followers","following_url":"https://api.github.com/users/Page-Not-Found/following{/other_user}","gists_url":"https://api.github.com/users/Page-Not-Found/gists{/gist_id}","starred_url":"https://api.github.com/users/Page-Not-Found/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Page-Not-Found/subscriptions","organizations_url":"https://api.github.com/users/Page-Not-Found/orgs","repos_url":"https://api.github.com/users/Page-Not-Found/repos","events_url":"https://api.github.com/users/Page-Not-Found/events{/privacy}","received_events_url":"https://api.github.com/users/Page-Not-Found/received_events","type":"User","site_admin":false},"created_at":"2015-11-08T20:54:46Z","updated_at":"2015-11-08T20:54:46Z","body":"Yes. I meant **ExceptionLayoutRenderer**. The switch will still be there, but just replace the delegates with func.\r\n\r\nDo you have any proposal of totally removing the switch case?\r\n\r\nPS: I corrected the title. "}}