PTLogEntry Class Reference
Inherits from | NSObject |
Declared in | PTLogEntry.h |
Tasks
Other Methods
-
tag
Simple tag for the log entry. This tag can be used for filtering purposes and/or to detect progress of a log.
property -
filters
Filters. This is an array of strings (filters) that can be used for filtering purposes.
property -
timeStamp
long long A millisecond accurate time stamp value representing the system time associated to the instant when the entry is added to the PTNotificationHistory.
property -
message
Log message
property -
type
Type of the message. Types: PTLogEntryTypeInfo, PTLogEntryTypeDebug, PTLogEntryTypeEvent, PTLogEntryTypeWarning PTLogEntryTypeError.
property -
progress
A float value from [0.0 - 1.0] indicating the progress of a log message of type event (You can log the beggining, progress and end of an event of the same messageId).
property
Creating message log
-
– initLogWithTag:message:type:progress:
Creates a new PTLogEntry instance with specified properties.
-
– initLogWithTag:filters:message:type:progress:
Creates a new PTLogEntry instance with specified properties.
Properties
filters
Filters. This is an array of strings (filters) that can be used for filtering purposes.
@property (nonatomic, readonly) NSArray *filters
Discussion
Filters. This is an array of strings (filters) that can be used for filtering purposes.
Declared In
PTLogEntry.h
message
Log message
@property (nonatomic, readonly) NSString *message
Discussion
Log message
Declared In
PTLogEntry.h
progress
A float value from [0.0 - 1.0] indicating the progress of a log message of type event (You can log the beggining, progress and end of an event of the same messageId).
@property (nonatomic, readonly) float progress
Discussion
A float value from [0.0 - 1.0] indicating the progress of a log message of type event (You can log the beggining, progress and end of an event of the same messageId).
Declared In
PTLogEntry.h
tag
Simple tag for the log entry. This tag can be used for filtering purposes and/or to detect progress of a log.
@property (nonatomic, readonly) NSString *tag
Discussion
Simple tag for the log entry. This tag can be used for filtering purposes and/or to detect progress of a log.
Declared In
PTLogEntry.h
timeStamp
long long A millisecond accurate time stamp value representing the system time associated to the instant when the entry is added to the PTNotificationHistory.
@property (nonatomic, readonly) NSDate *timeStamp
Discussion
long long A millisecond accurate time stamp value representing the system time associated to the instant when the entry is added to the PTNotificationHistory.
Declared In
PTLogEntry.h
type
Type of the message. Types: PTLogEntryTypeInfo, PTLogEntryTypeDebug, PTLogEntryTypeEvent, PTLogEntryTypeWarning PTLogEntryTypeError.
@property (nonatomic, readonly) PTLogEntryType type
Discussion
Type of the message. Types: PTLogEntryTypeInfo, PTLogEntryTypeDebug, PTLogEntryTypeEvent, PTLogEntryTypeWarning PTLogEntryTypeError.
Declared In
PTLogEntry.h
Instance Methods
initLogWithTag:filters:message:type:progress:
Creates a new PTLogEntry instance with specified properties.
- (id)initLogWithTag:(NSString *)tag filters:(NSArray *)filters message:(NSString *)message type:(PTLogEntryType)type progress:(float)progress
Declared In
PTLogEntry.h
initLogWithTag:message:type:progress:
Creates a new PTLogEntry instance with specified properties.
- (id)initLogWithTag:(NSString *)tag message:(NSString *)message type:(PTLogEntryType)type progress:(float)progress
Declared In
PTLogEntry.h