public static final class LogContract.Log extends java.lang.Object implements android.provider.BaseColumns, LogContract.LogColumns
| Modifier and Type | Class and Description |
|---|---|
static class |
LogContract.Log.Level
A helper class that contains predefined static level values:
LogContract.Log.Level.DEBUG
LogContract.Log.Level.VERBOSE
LogContract.Log.Level.INFO
LogContract.Log.Level.APPLICATION
LogContract.Log.Level.WARNING
LogContract.Log.Level.ERROR
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTENT_DIRECTORY
The directory twig for session log entries.
|
static java.lang.String |
CONTENT_ITEM_TYPE
The MIME type of a
LogContract.Session.CONTENT_URI subdirectory of a single log entry. |
static java.lang.String |
CONTENT_TYPE
The MIME type of
LogContract.Session.CONTENT_URI providing a directory of log entries. |
DATA, LEVEL, SESSION_ID, TIME| Modifier and Type | Method and Description |
|---|---|
static android.net.Uri |
createUri(long sessionId)
Returns the
Uri to log entries from session with given id. |
static android.net.Uri |
createUri(java.lang.String key,
int number)
Returns the
Uri to log entries from session with given id. |
public static final java.lang.String CONTENT_DIRECTORY
public static final java.lang.String CONTENT_TYPE
LogContract.Session.CONTENT_URI providing a directory of log entries.public static final java.lang.String CONTENT_ITEM_TYPE
LogContract.Session.CONTENT_URI subdirectory of a single log entry.public static android.net.Uri createUri(long sessionId)
Uri to log entries from session with given id.sessionId - the session idUri that can be used to read log entries frompublic static android.net.Uri createUri(java.lang.String key,
int number)
Uri to log entries from session with given id.key - the session keynumber - the session number. Numbers are incremented automatically for each key
starting from 1 when creating new session.Uri that can be used to read log entries from