Package apple.oslog.enums
Class OSLogEntryStoreCategory
- java.lang.Object
-
- apple.oslog.enums.OSLogEntryStoreCategory
-
public final class OSLogEntryStoreCategory extends java.lang.Object[@enum] OSLogEntryStoreCategory 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. API-Since: 15.0
-
-
Field Summary
Fields Modifier and Type Field Description static longLongTerm1API-Since: 15.0static longLongTerm14API-Since: 15.0static longLongTerm3API-Since: 15.0static longLongTerm30API-Since: 15.0static longLongTerm7API-Since: 15.0static longLongTermAutoAPI-Since: 15.0static longMetadataAPI-Since: 15.0static longShortTermAPI-Since: 15.0static longUndefinedAPI-Since: 15.0
-
-
-
Field Detail
-
Undefined
public static final long Undefined
API-Since: 15.0- See Also:
- Constant Field Values
-
Metadata
public static final long Metadata
API-Since: 15.0- See Also:
- Constant Field Values
-
ShortTerm
public static final long ShortTerm
API-Since: 15.0- See Also:
- Constant Field Values
-
LongTermAuto
public static final long LongTermAuto
API-Since: 15.0- See Also:
- Constant Field Values
-
LongTerm1
public static final long LongTerm1
API-Since: 15.0- See Also:
- Constant Field Values
-
LongTerm3
public static final long LongTerm3
API-Since: 15.0- See Also:
- Constant Field Values
-
LongTerm7
public static final long LongTerm7
API-Since: 15.0- See Also:
- Constant Field Values
-
LongTerm14
public static final long LongTerm14
API-Since: 15.0- See Also:
- Constant Field Values
-
LongTerm30
public static final long LongTerm30
API-Since: 15.0- See Also:
- Constant Field Values
-
-