1 package com.android.launcher3.util;
2 
3 /**
4  * This is a utility class that keeps track of all the tag that can be enabled to debug
5  * a behavior in runtime.
6  *
7  * To use any of the strings defined in this class, execute the following command.
8  *
9  * $ adb shell setprop log.tag.TAGNAME VERBOSE
10  */
11 
12 public class LogConfig {
13     // These are list of strings that can be used to replace TAGNAME.
14 
15     public static final String STATSLOG = "StatsLog";
16 
17     /**
18      * After this tag is turned on, whenever there is n user event, debug information is
19      * printed out to logcat.
20      */
21     public static final String USEREVENT = "UserEvent";
22 
23     /**
24      * When turned on, all icons are kept on the home screen, even if they don't have an active
25      * session.
26      */
27     public static final String KEEP_ALL_ICONS = "KeepAllIcons";
28 
29     /**
30      * When turned on, icon cache is only fetched from memory and not disk.
31      */
32     public static final String MEMORY_ONLY_ICON_CACHE = "MemoryOnlyIconCache";
33 
34     /**
35      * When turned on, we enable doodle related logging.
36      */
37     public static final String DOODLE_LOGGING = "DoodleLogging";
38 
39     /**
40      * When turned on, we enable suggest related logging.
41      */
42     public static final String SEARCH_LOGGING = "SearchLogging";
43 
44     /**
45      * When turned on, we enable IME related latency related logging.
46      */
47     public static final String IME_LATENCY_LOGGING = "ImeLatencyLogging";
48 
49     /**
50      * When turned on, we enable web suggest appSearch related logging.
51      */
52     public static final String WEB_APP_SEARCH_LOGGING = "WebAppSearchLogging";
53 
54     /**
55      * When turned on, we enable quick launch v2 related logging.
56      */
57     public static final String QUICK_LAUNCH_V2 = "QuickLaunchV2";
58 
59     /**
60      * When turned on, we enable Gms Play related logging.
61      */
62     public static final String GMS_PLAY = "GmsPlay";
63 
64     /**
65      * When turned on, we enable AGA related session summary logging.
66      */
67     public static final String AGA_SESSION_SUMMARY_LOG = "AGASessionSummaryLog";
68 
69     /**
70      * When turned on, we enable long press nav handle related logging.
71      */
72     public static final String NAV_HANDLE_LONG_PRESS = "NavHandleLongPress";
73 
74 
75     /**
76      * When turned on, we enable zero state web data loader related logging.
77      */
78     public static final String ZERO_WEB_DATA_LOADER = "ZeroStateWebDataLoaderLog";
79 }
80