diff options
author | Alon Albert <aalbert@google.com> | 2022-07-13 09:10:14 -0700 |
---|---|---|
committer | TreeHugger Robot <treehugger-gerrit@google.com> | 2022-07-13 17:55:24 +0000 |
commit | eec2ad5b85e2b3d53986fa3fb18dd80fb39dd86c (patch) | |
tree | 4d7629194a6380fb6544735d2185b535b3ff0f57 /logcat | |
parent | 8c68a3a7de7a4f3d53b0dd5c42e0c0a3a5ab66d5 (diff) | |
download | idea-eec2ad5b85e2b3d53986fa3fb18dd80fb39dd86c.tar.gz |
Change Logcat Logger Category
`com.intellij.openapi.diagnostic.Logger.Logcat` was wrong. It should have been `com.android.tools.idea.logcat.util.Logcat` but on second thought, there's no need to add the entire package name. It renders more clearly if we just use `LogcatLogger`.
Adding the `#` in from makes it consistent with auto-generated categories.
Also added a KDoc to explicity explain how to enable DEBUG logs.
Bug: na
Test: na
Change-Id: Ic2ec744effd6806a1c2d7b7d8d768228371f17d5
Diffstat (limited to 'logcat')
-rw-r--r-- | logcat/src/com/android/tools/idea/logcat/util/LogcatLogger.kt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/logcat/src/com/android/tools/idea/logcat/util/LogcatLogger.kt b/logcat/src/com/android/tools/idea/logcat/util/LogcatLogger.kt index 050c6493e30..639bc17ea77 100644 --- a/logcat/src/com/android/tools/idea/logcat/util/LogcatLogger.kt +++ b/logcat/src/com/android/tools/idea/logcat/util/LogcatLogger.kt @@ -17,4 +17,9 @@ package com.android.tools.idea.logcat.util import com.intellij.openapi.diagnostic.Logger -internal val LOGGER = Logger.getInstance("com.intellij.openapi.diagnostic.Logger.Logcat")
\ No newline at end of file +/** + * The common logger for all Logcat logs. + * + * To see DEBUG logs, add `#LogcatLogger` to `Help -> Diagnostic Tools -> Debug Log Settings` + */ +internal val LOGGER = Logger.getInstance("#LogcatLogger") |