Files
lawnchair/src/com/android/launcher3/util/LogConfig.java
Hyunyoung Song 7f7894e3b7 Hookup statsd for workspace layout logging
Bug: 144953948

Change-Id: I81bd42929b2d65a63c610e95e5e01179a3971493
2020-05-10 01:37:42 -07:00

39 lines
1.1 KiB
Java

package com.android.launcher3.util;
/**
* This is a utility class that keeps track of all the tag that can be enabled to debug
* a behavior in runtime.
*
* To use any of the strings defined in this class, execute the following command.
*
* $ adb shell setprop log.tag.TAGNAME VERBOSE
*/
public class LogConfig {
// These are list of strings that can be used to replace TAGNAME.
public static final String STATSLOG = "StatsLog";
/**
* After this tag is turned on, whenever there is n user event, debug information is
* printed out to logcat.
*/
public static final String USEREVENT = "UserEvent";
/**
* When turned on, all icons are kept on the home screen, even if they don't have an active
* session.
*/
public static final String KEEP_ALL_ICONS = "KeepAllIcons";
/**
* When turned on, icon cache is only fetched from memory and not disk.
*/
public static final String MEMORY_ONLY_ICON_CACHE = "MemoryOnlyIconCache";
/**
* When turned on, we enable doodle related logging.
*/
public static final String DOODLE_LOGGING = "DoodleLogging";
}