{"action":"created","issue":{"url":"https://api.github.com/repos/Kotlin/anko/issues/489","repository_url":"https://api.github.com/repos/Kotlin/anko","labels_url":"https://api.github.com/repos/Kotlin/anko/issues/489/labels{/name}","comments_url":"https://api.github.com/repos/Kotlin/anko/issues/489/comments","events_url":"https://api.github.com/repos/Kotlin/anko/issues/489/events","html_url":"https://github.com/Kotlin/anko/issues/489","id":266781501,"number":489,"title":"Enable debug logging level for all classes in Anko Logger","user":{"login":"ajaysaini-sgvu","id":2501024,"avatar_url":"https://avatars3.githubusercontent.com/u/2501024?v=4","gravatar_id":"","url":"https://api.github.com/users/ajaysaini-sgvu","html_url":"https://github.com/ajaysaini-sgvu","followers_url":"https://api.github.com/users/ajaysaini-sgvu/followers","following_url":"https://api.github.com/users/ajaysaini-sgvu/following{/other_user}","gists_url":"https://api.github.com/users/ajaysaini-sgvu/gists{/gist_id}","starred_url":"https://api.github.com/users/ajaysaini-sgvu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajaysaini-sgvu/subscriptions","organizations_url":"https://api.github.com/users/ajaysaini-sgvu/orgs","repos_url":"https://api.github.com/users/ajaysaini-sgvu/repos","events_url":"https://api.github.com/users/ajaysaini-sgvu/events{/privacy}","received_events_url":"https://api.github.com/users/ajaysaini-sgvu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-19T09:43:24Z","updated_at":"2018-02-05T09:44:44Z","closed_at":null,"author_association":"NONE","body":"Hi I am using `anko` logger in my android application. I see that I have to set like this  ` setprop  log.tag.LoginActivity DEBUG`  for my every class where I am doing logging. \r\n\r\nExecute this command for each new class file is not a good solution.  Is there any way to enable debug log level for entire application. I am doing logging like below\r\n\r\n```\r\ndebug { \"Registration Activity\" }\r\n\r\n```\r\n\r\nI see that to solve this issue just create one class and do something like this \r\n\r\n```\r\npublic class Logger {\r\n    static String TAG = \"MyApp\";\r\n     \r\n    public static void v(String str) {\r\n        if (Log.isLoggable(TAG, Log.VERBOSE)) {\r\n            Log.v(TAG, str);\r\n        }\r\n    }\r\n    public static void v(String str, Throwable t) {\r\n        if (Log.isLoggable(TAG, Log.VERBOSE)) {\r\n            Log.v(TAG, str, t);\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nThen use like this `Logger.v(\"Hello World\");` and enable debug level using below command for entire application.\r\n\r\n```\r\nsetprop  log.tag.MyApp  VERBOSE\r\n```\r\n\r\nDoes anko provide solution for this problem without making own `Logger`  class and one TAG for entire application ?"},"comment":{"url":"https://api.github.com/repos/Kotlin/anko/issues/comments/363031739","html_url":"https://github.com/Kotlin/anko/issues/489#issuecomment-363031739","issue_url":"https://api.github.com/repos/Kotlin/anko/issues/489","id":363031739,"user":{"login":"Rawa","id":1526920,"avatar_url":"https://avatars2.githubusercontent.com/u/1526920?v=4","gravatar_id":"","url":"https://api.github.com/users/Rawa","html_url":"https://github.com/Rawa","followers_url":"https://api.github.com/users/Rawa/followers","following_url":"https://api.github.com/users/Rawa/following{/other_user}","gists_url":"https://api.github.com/users/Rawa/gists{/gist_id}","starred_url":"https://api.github.com/users/Rawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rawa/subscriptions","organizations_url":"https://api.github.com/users/Rawa/orgs","repos_url":"https://api.github.com/users/Rawa/repos","events_url":"https://api.github.com/users/Rawa/events{/privacy}","received_events_url":"https://api.github.com/users/Rawa/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T09:44:44Z","updated_at":"2018-02-05T09:44:44Z","author_association":"NONE","body":"I think this issue needs more attention. The ankologger is not very user-friendly in it's current state."}}
{"actor":{"display_login":"Rawa"}}