public class OSLogStore extends NSObject
A set of entries from the unified logging system. Instances represent a fixed range of entries and may be backed by a logarchive or the Mac's local store.
Entries in OSLogStore objects are used by OSLogEnumerator instances; one store can support multiple OSLogEnumerator instances concurrently.
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
OSLogStore(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static OSLogStore |
alloc() |
static OSLogStore |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
OSLogEnumerator |
entriesEnumeratorAndReturnError(org.moe.natj.general.ptr.Ptr<NSError> error)
entriesEnumeratorAndReturnError
|
OSLogEnumerator |
entriesEnumeratorWithOptionsPositionPredicateError(long options,
OSLogPosition position,
NSPredicate predicate,
org.moe.natj.general.ptr.Ptr<NSError> error)
entriesEnumeratorWithOptions
|
static long |
hash_static() |
OSLogStore |
init() |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static OSLogStore |
new_objc() |
OSLogPosition |
positionWithDate(NSDate date)
positionWithDate
|
OSLogPosition |
positionWithTimeIntervalSinceEnd(double seconds)
positionWithTimeIntervalSinceEnd
|
OSLogPosition |
positionWithTimeIntervalSinceLatestBoot(double seconds)
positionWithTimeIntervalSinceLatestBoot
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
static void |
setVersion_static(long aVersion) |
static OSLogStore |
storeWithScopeError(long scope,
org.moe.natj.general.ptr.Ptr<NSError> error)
storeWithScope
|
static OSLogStore |
storeWithURLError(NSURL url,
org.moe.natj.general.ptr.Ptr<NSError> error)
storeWithURL
|
static org.moe.natj.objc.Class |
superclass_static() |
static long |
version_static() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static OSLogStore alloc()
public static OSLogStore allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public OSLogEnumerator entriesEnumeratorAndReturnError(org.moe.natj.general.ptr.Ptr<NSError> error)
Return an OSLogEnumerator object with default options for viewing the entries; all are viewed, from earliest to latest.
error - If the enumerator cannot be set up, return nil and set this
to a pointer to an error object that describes the reason.public OSLogEnumerator entriesEnumeratorWithOptionsPositionPredicateError(long options, OSLogPosition position, NSPredicate predicate, org.moe.natj.general.ptr.Ptr<NSError> error)
Return an OSLogEnumerator object based on an underlying store. This object represents the sequence of entries for the store. OSLogStore. Additional parameters control which entries are yielded and their order.
options - Control the direction of iteration.position - Where to start iteration. If nil, depend on the direction of
the iteration: if forwards, start with the earliest entry; if
reverse, start with the latest entry.predicate - A predicate that filters which entries are in the sequence. If
this is nil, yield all entries.error - If the enumerator cannot be set up --- for example, the
predicate has an unrecognized key --- return nil and set this
to a pointer to an error object that describes the reason.public static long hash_static()
public OSLogStore init()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static OSLogStore new_objc()
public OSLogPosition positionWithDate(NSDate date)
Return a position representing the time specified.
If there are multiple occurences of the same time --- if, for example, there was a time change during the range of entries --- the earliest occurrence is used.
date - The date to look for.public OSLogPosition positionWithTimeIntervalSinceEnd(double seconds)
Return a position representing an offset since the end of the time range that the entries span.
seconds - The seconds to add to the last time point in the range of entries.public OSLogPosition positionWithTimeIntervalSinceLatestBoot(double seconds)
Return a position representing time since the last boot in the series of entries.
Negative seconds would create an ambiguous or imprecise position; this function asserts that the interval is positive.
seconds - The seconds to add to the boot time point in the log time range.public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static OSLogStore storeWithScopeError(long scope, org.moe.natj.general.ptr.Ptr<NSError> error)
Create an OSLogStore for a subset of entries in the local store.
scope - The kind of subset the OSLogStore is for.error - If initialization is unsuccessful, return nil and set this parameter to a
pointer to an error object that describes the reason.public static OSLogStore storeWithURLError(NSURL url, org.moe.natj.general.ptr.Ptr<NSError> error)
Create an OSLogStore based on a logarchive.
url - The path identifying a logarchive to be read.error - If initialization is unsuccessful --- for example, the path is not
to a valid logarchive or the logarchive is not compatible because
it is from a newer version --- return nil and set this parameter
to a pointer to an error object that describes the reason.public static org.moe.natj.objc.Class superclass_static()
public static long version_static()