{"action":"created","issue":{"url":"https://api.github.com/repos/gabime/spdlog/issues/323","repository_url":"https://api.github.com/repos/gabime/spdlog","labels_url":"https://api.github.com/repos/gabime/spdlog/issues/323/labels{/name}","comments_url":"https://api.github.com/repos/gabime/spdlog/issues/323/comments","events_url":"https://api.github.com/repos/gabime/spdlog/issues/323/events","html_url":"https://github.com/gabime/spdlog/issues/323","id":191820420,"number":323,"title":"Single logger for console and file","user":{"login":"Zonciu","id":10374056,"avatar_url":"https://avatars.githubusercontent.com/u/10374056?v=3","gravatar_id":"","url":"https://api.github.com/users/Zonciu","html_url":"https://github.com/Zonciu","followers_url":"https://api.github.com/users/Zonciu/followers","following_url":"https://api.github.com/users/Zonciu/following{/other_user}","gists_url":"https://api.github.com/users/Zonciu/gists{/gist_id}","starred_url":"https://api.github.com/users/Zonciu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zonciu/subscriptions","organizations_url":"https://api.github.com/users/Zonciu/orgs","repos_url":"https://api.github.com/users/Zonciu/repos","events_url":"https://api.github.com/users/Zonciu/events{/privacy}","received_events_url":"https://api.github.com/users/Zonciu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-26T18:45:30Z","updated_at":"2016-11-26T20:18:34Z","closed_at":null,"body":"I'm trying to use a single logger to output trace logs and debug logs to console, and output all logs to the log file at the same time. Is it possible to be achieved? Or I should use two logger to divide console log and file log?"},"comment":{"url":"https://api.github.com/repos/gabime/spdlog/issues/comments/263083472","html_url":"https://github.com/gabime/spdlog/issues/323#issuecomment-263083472","issue_url":"https://api.github.com/repos/gabime/spdlog/issues/323","id":263083472,"user":{"login":"gabime","id":6052198,"avatar_url":"https://avatars.githubusercontent.com/u/6052198?v=3","gravatar_id":"","url":"https://api.github.com/users/gabime","html_url":"https://github.com/gabime","followers_url":"https://api.github.com/users/gabime/followers","following_url":"https://api.github.com/users/gabime/following{/other_user}","gists_url":"https://api.github.com/users/gabime/gists{/gist_id}","starred_url":"https://api.github.com/users/gabime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabime/subscriptions","organizations_url":"https://api.github.com/users/gabime/orgs","repos_url":"https://api.github.com/users/gabime/repos","events_url":"https://api.github.com/users/gabime/events{/privacy}","received_events_url":"https://api.github.com/users/gabime/received_events","type":"User","site_admin":false},"created_at":"2016-11-26T20:18:34Z","updated_at":"2016-11-26T20:18:34Z","body":"Yes, it can be achieved with a logger with 2 sinks(file sink +console sink).\r\nEach sink can have different log level."}}
{"actor":{"display_login":"gabime"}}