Class PrivateLog
- java.lang.Object
-
- de.kaffeemitkoffein.tinyweatherforecastgermany.PrivateLog
-
public class PrivateLog extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PrivateLog.AsyncGetLogs
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ALERTS
static java.lang.String
CLIPBOARD_LOGLABEL
static java.lang.String[]
CLIPBOARD_MIMETYPES
static java.lang.String
DATA
static java.lang.String
DATASTORAGE
static int
ERR
static int
FATAL
static java.lang.String
GB
static java.lang.String
GEO
static int
INFO
static java.lang.String
LAYERS
static long
LOG_MAX_FILESIZE
static java.lang.String
LOGFILENAME
static java.lang.String
LOGHANDLE
static java.lang.String
MAIN
static java.lang.String
ONBOOT
static java.lang.String
RADAR
static java.lang.String
SERVICE
static java.lang.String
STATIONS
static java.lang.String
SYNC
static java.lang.String
TEXTS
static java.lang.String
UPDATER
static int
WARN
static java.lang.String
WARNINGS
static java.lang.String
WIDGET
-
Constructor Summary
Constructors Constructor Description PrivateLog()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
clearLogs(Context context)
static boolean
copyLogsToClipboard(Context context)
static java.lang.String
getCurrentStationInfoString(Context context)
static java.lang.String
getDebugInfoString(Context context)
static java.lang.String
getInfoString(Context context)
static long
getLogFilesize(Context context)
static java.lang.String
getLogs(Context context)
static java.util.ArrayList<java.lang.String>
getLogsList(Context context)
static Uri
getLogUri(Context context)
static boolean
log(Context context, java.lang.String tag, int severity, java.lang.String s)
-
-
-
Field Detail
-
LOGHANDLE
public static final java.lang.String LOGHANDLE
- See Also:
- Constant Field Values
-
LOGFILENAME
public static final java.lang.String LOGFILENAME
- See Also:
- Constant Field Values
-
CLIPBOARD_LOGLABEL
public static final java.lang.String CLIPBOARD_LOGLABEL
- See Also:
- Constant Field Values
-
CLIPBOARD_MIMETYPES
public static final java.lang.String[] CLIPBOARD_MIMETYPES
-
LOG_MAX_FILESIZE
public static final long LOG_MAX_FILESIZE
- See Also:
- Constant Field Values
-
MAIN
public static final java.lang.String MAIN
- See Also:
- Constant Field Values
-
SERVICE
public static final java.lang.String SERVICE
- See Also:
- Constant Field Values
-
ONBOOT
public static final java.lang.String ONBOOT
- See Also:
- Constant Field Values
-
GB
public static final java.lang.String GB
- See Also:
- Constant Field Values
-
UPDATER
public static final java.lang.String UPDATER
- See Also:
- Constant Field Values
-
SYNC
public static final java.lang.String SYNC
- See Also:
- Constant Field Values
-
DATA
public static final java.lang.String DATA
- See Also:
- Constant Field Values
-
WARNINGS
public static final java.lang.String WARNINGS
- See Also:
- Constant Field Values
-
WIDGET
public static final java.lang.String WIDGET
- See Also:
- Constant Field Values
-
TEXTS
public static final java.lang.String TEXTS
- See Also:
- Constant Field Values
-
STATIONS
public static final java.lang.String STATIONS
- See Also:
- Constant Field Values
-
RADAR
public static final java.lang.String RADAR
- See Also:
- Constant Field Values
-
GEO
public static final java.lang.String GEO
- See Also:
- Constant Field Values
-
ALERTS
public static final java.lang.String ALERTS
- See Also:
- Constant Field Values
-
LAYERS
public static final java.lang.String LAYERS
- See Also:
- Constant Field Values
-
DATASTORAGE
public static final java.lang.String DATASTORAGE
- See Also:
- Constant Field Values
-
INFO
public static final int INFO
- See Also:
- Constant Field Values
-
WARN
public static final int WARN
- See Also:
- Constant Field Values
-
ERR
public static final int ERR
- See Also:
- Constant Field Values
-
FATAL
public static final int FATAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLogs
public static java.lang.String getLogs(Context context)
-
getLogsList
public static java.util.ArrayList<java.lang.String> getLogsList(Context context)
-
getLogFilesize
public static long getLogFilesize(Context context)
-
log
public static boolean log(Context context, java.lang.String tag, int severity, java.lang.String s)
-
copyLogsToClipboard
public static boolean copyLogsToClipboard(Context context)
-
clearLogs
public static boolean clearLogs(Context context)
-
getLogUri
public static Uri getLogUri(Context context)
-
getDebugInfoString
public static java.lang.String getDebugInfoString(Context context)
-
getInfoString
public static java.lang.String getInfoString(Context context)
-
getCurrentStationInfoString
public static java.lang.String getCurrentStationInfoString(Context context)
-
-