OOLogItem
Objective-C
@interface OOLogItem : NSObject
Swift
class OOLogItem : NSObject
Object passed to callbacks when errors occur.
-
Describes the source of the
OOLogItem
. Depending on the source, not all fields might be set.Declaration
Objective-C
@property (nonatomic, readonly) OOLogItemSource source;
Swift
var source: OOLogItemSource { get }
-
Describes what type of event has occurred.
Declaration
Objective-C
@property (nonatomic, readonly) OOLogItemEvent event;
Swift
var event: OOLogItemEvent { get }
-
Associated error message for the log item. Can be nil if message is defined.
Declaration
Objective-C
@property (nonatomic, readonly) NSError *error;
Swift
var error: (any Error)! { get }
-
The path of third party ads fetched until an error occurred; only relevant when source is
OOLogItemSource.OOLogItemSourceAd
. The array will only contain instances of NSURL.Declaration
Objective-C
@property (nonatomic, readonly) NSArray *thirdPartySourceURLs;
Swift
var thirdPartySourceURLs: [Any]! { get }
-
Returns a string representation of the
OOLogItem
.Declaration
Objective-C
- (NSString *)description;
Swift
func description() -> String!
-
Returns a string representation of the
OOLogItem
message and/or error.Declaration
Objective-C
- (NSString *)errorMessageDescription;
Swift
func errorMessageDescription() -> String!
-
Returns a string representation of the
OOLogItem
source.Declaration
Objective-C
- (NSString *)sourceDescription;
Swift
func sourceDescription() -> String!
-
Returns a string representation of the
OOLogItem
type.Declaration
Objective-C
- (NSString *)eventDescription;
Swift
func eventDescription() -> String!