{"action":"created","issue":{"url":"https://api.github.com/repos/ipkn/crow/issues/114","labels_url":"https://api.github.com/repos/ipkn/crow/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/ipkn/crow/issues/114/comments","events_url":"https://api.github.com/repos/ipkn/crow/issues/114/events","html_url":"https://github.com/ipkn/crow/issues/114","id":127368895,"number":114,"title":"Rename \"Crow/0.1\" server name?","user":{"login":"leegom","id":13749618,"avatar_url":"https://avatars.githubusercontent.com/u/13749618?v=3","gravatar_id":"","url":"https://api.github.com/users/leegom","html_url":"https://github.com/leegom","followers_url":"https://api.github.com/users/leegom/followers","following_url":"https://api.github.com/users/leegom/following{/other_user}","gists_url":"https://api.github.com/users/leegom/gists{/gist_id}","starred_url":"https://api.github.com/users/leegom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leegom/subscriptions","organizations_url":"https://api.github.com/users/leegom/orgs","repos_url":"https://api.github.com/users/leegom/repos","events_url":"https://api.github.com/users/leegom/events{/privacy}","received_events_url":"https://api.github.com/users/leegom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-19T05:25:45Z","updated_at":"2016-01-19T21:21:15Z","closed_at":null,"body":"When I compile and run my crow program, I can see `Crow/0.1` on log.\r\nIs there a function to remove or rename it?\r\nThanks."},"comment":{"url":"https://api.github.com/repos/ipkn/crow/issues/comments/172990584","html_url":"https://github.com/ipkn/crow/issues/114#issuecomment-172990584","issue_url":"https://api.github.com/repos/ipkn/crow/issues/114","id":172990584,"user":{"login":"pierobot","id":9681769,"avatar_url":"https://avatars.githubusercontent.com/u/9681769?v=3","gravatar_id":"","url":"https://api.github.com/users/pierobot","html_url":"https://github.com/pierobot","followers_url":"https://api.github.com/users/pierobot/followers","following_url":"https://api.github.com/users/pierobot/following{/other_user}","gists_url":"https://api.github.com/users/pierobot/gists{/gist_id}","starred_url":"https://api.github.com/users/pierobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierobot/subscriptions","organizations_url":"https://api.github.com/users/pierobot/orgs","repos_url":"https://api.github.com/users/pierobot/repos","events_url":"https://api.github.com/users/pierobot/events{/privacy}","received_events_url":"https://api.github.com/users/pierobot/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T21:21:15Z","updated_at":"2016-01-19T21:21:15Z","body":"Is this what you're looking for? It will only log critical events. \r\n```cpp\r\ncrow::logger::setLogLevel(crow::LogLevel::CRITICAL);\r\n```\r\n\r\nIf you want to get rid of all logs from crow then you'll have to provide your own log handler.\r\n\r\n```cpp\r\nclass ExampleLogHandler : public crow::ILogHandler {\r\n    public:\r\n        void log(std::string message, crow::LogLevel level) override {\r\n//            cerr << \"ExampleLogHandler -> \" << message;\r\n        }\r\n};\r\n\r\ncrow::logger::setHandler(std::make_shared<ExampleLogHandler>());\r\n```\r\n"}}