PTLogEntry Class Reference
| Inherits from | NSObject |
| Declared in | PTLogEntry.h |
Tasks
Other Methods
-
tagSimple tag for the log entry. This tag can be used for filtering purposes and/or to detect progress of a log.
property -
filtersFilters. This is an array of strings (filters) that can be used for filtering purposes.
property -
timeStamplong long A millisecond accurate time stamp value representing the system time associated to the instant when the entry is added to the PTNotificationHistory.
property -
messageLog message
property -
typeType of the message. Types: PTLogEntryTypeInfo, PTLogEntryTypeDebug, PTLogEntryTypeEvent, PTLogEntryTypeWarning PTLogEntryTypeError.
property -
progressA 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 *filtersDiscussion
Filters. This is an array of strings (filters) that can be used for filtering purposes.
Declared In
PTLogEntry.hmessage
Log message
@property (nonatomic, readonly) NSString *messageDiscussion
Log message
Declared In
PTLogEntry.hprogress
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 progressDiscussion
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.htag
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 *tagDiscussion
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.htimeStamp
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 *timeStampDiscussion
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.htype
Type of the message. Types: PTLogEntryTypeInfo, PTLogEntryTypeDebug, PTLogEntryTypeEvent, PTLogEntryTypeWarning PTLogEntryTypeError.
@property (nonatomic, readonly) PTLogEntryType typeDiscussion
Type of the message. Types: PTLogEntryTypeInfo, PTLogEntryTypeDebug, PTLogEntryTypeEvent, PTLogEntryTypeWarning PTLogEntryTypeError.
Declared In
PTLogEntry.hInstance 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)progressDeclared In
PTLogEntry.hinitLogWithTag:message:type:progress:
Creates a new PTLogEntry instance with specified properties.
- (id)initLogWithTag:(NSString *)tag message:(NSString *)message type:(PTLogEntryType)type progress:(float)progressDeclared In
PTLogEntry.h