diff options
| author | Zhomart Mukhamejanov <zhomart@google.com> | 2021-03-15 13:25:40 -0700 |
|---|---|---|
| committer | Zhomart Mukhamejanov <zhomart@google.com> | 2021-03-22 17:23:25 +0000 |
| commit | bb57907a601573d81d6f97b1641bcff8a5ee07e0 (patch) | |
| tree | 0be8d8d967bd479d8aa7a52f42e47f7ed59a40ef /core/java/android/util | |
| parent | 4aebcb6a74e9663819de1e626ac1ddf609c35705 (diff) | |
Add docs to Slog class.
Docs will be super useful, especially to new developers.
I see several docs and questions inside/outside google asking
what is it and when to use it.
Bug: 182476140
Test: m -j
Change-Id: Ibb41ab0b6fd808f2a1e5475103860fc415a502d6
Diffstat (limited to 'core/java/android/util')
| -rw-r--r-- | core/java/android/util/Slog.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/util/Slog.java b/core/java/android/util/Slog.java index d3eaeae993e6..e5106e2b0ce7 100644 --- a/core/java/android/util/Slog.java +++ b/core/java/android/util/Slog.java @@ -26,6 +26,10 @@ import java.util.Formatter; import java.util.Locale; /** + * API for sending log output to the {@link Log#LOG_ID_SYSTEM} buffer. + * + * <p>Should be used by system components. Use {@code adb logcat --buffer=system} to fetch the logs. + * * @hide */ public final class Slog { |
