{"action":"opened","issue":{"url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/3718","repository_url":"https://api.github.com/repos/shogun-toolbox/shogun","labels_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/3718/labels{/name}","comments_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/3718/comments","events_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/3718/events","html_url":"https://github.com/shogun-toolbox/shogun/issues/3718","id":215026718,"number":3718,"title":"Support for redirecting the logs","user":{"login":"vigsterkr","id":30353,"avatar_url":"https://avatars2.githubusercontent.com/u/30353?v=3","gravatar_id":"","url":"https://api.github.com/users/vigsterkr","html_url":"https://github.com/vigsterkr","followers_url":"https://api.github.com/users/vigsterkr/followers","following_url":"https://api.github.com/users/vigsterkr/following{/other_user}","gists_url":"https://api.github.com/users/vigsterkr/gists{/gist_id}","starred_url":"https://api.github.com/users/vigsterkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vigsterkr/subscriptions","organizations_url":"https://api.github.com/users/vigsterkr/orgs","repos_url":"https://api.github.com/users/vigsterkr/repos","events_url":"https://api.github.com/users/vigsterkr/events{/privacy}","received_events_url":"https://api.github.com/users/vigsterkr/received_events","type":"User","site_admin":false},"labels":[{"id":48398374,"url":"https://api.github.com/repos/shogun-toolbox/shogun/labels/Cleanups","name":"Cleanups","color":"fbca04","default":false},{"id":181050,"url":"https://api.github.com/repos/shogun-toolbox/shogun/labels/development%20tasks","name":"development tasks","color":"e10c02","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-17T14:53:25Z","updated_at":"2017-03-17T14:53:25Z","closed_at":null,"body":"currently the SG_DEBUG/INFO etc logging methods are streaming the output `std::cout`. It would be good to be able to have file output of the logs, as for example in case of the unit testing framework all the DEBUG information is lost as gtest is swallowing all the `std::cout`.\r\n\r\nsome of the options worth checking out:\r\n * https://github.com/google/glog\r\n * https://github.com/gabime/spdlog\r\n\r\nthe latter one has the advantage that it's a header only solution, i.e. we could simply bundle it during compile time if need be."}}
{"actor":{"display_login":"vigsterkr"}}