public final class OSLogEntryStoreCategory
extends java.lang.Object
A classification of how the entry was to be stored and rotated at the point when it was created.
The unified logging system keeps entries in one of two places: a ring buffer in memory and a persisted data store. Entries are rotated out of both places to free up resources. This rotation is not strictly aligned with entries' timestamps --- in particular, they can be rotated in bulk, and they are rotated according to a series of heuristics that take into account space, time, and how the entries were classified.
[@constant] OSLogEntryStoreCategoryMetadata This entry was generated as information about the other entries or about the sequence of entries as a whole.
[@constant] OSLogEntryStoreCategoryShortTerm This entry was not intended to be long-lived and was captured in the ring buffer.
[@constant] OSLogEntryStoreCategoryLongTermAuto The entry was intended to be persisted in a filesystem-backed data store and kept mainly based on the amount of space available.
[@constant] OSLogEntryStoreCategoryLongTerm1 [@constant] OSLogEntryStoreCategoryLongTerm3 [@constant] OSLogEntryStoreCategoryLongTerm7 [@constant] OSLogEntryStoreCategoryLongTerm14 [@constant] OSLogEntryStoreCategoryLongTerm30 The entry was tagged with a hint indicating that the system should try to preserve it for a certain amount of time. It was persisted in the filesystem-backed data store, and rotation of these entries was based on both time and space considerations.
| Modifier and Type | Field and Description |
|---|---|
static long |
LongTerm1 |
static long |
LongTerm14 |
static long |
LongTerm3 |
static long |
LongTerm30 |
static long |
LongTerm7 |
static long |
LongTermAuto |
static long |
Metadata |
static long |
ShortTerm |
static long |
Undefined |
public static final long Undefined
public static final long Metadata
public static final long ShortTerm
public static final long LongTermAuto
public static final long LongTerm1
public static final long LongTerm3
public static final long LongTerm7
public static final long LongTerm14
public static final long LongTerm30