Details about a specific log event. More...
Instance Methods | |
| (FMLiveSwitchLogContext *) | - context |
| Gets the event context. More... | |
| (NSString *) | - description |
| (NSException *) | - exception |
| Gets the event exception, if one exists. More... | |
| (instancetype) | - initWithTimestamp:tag:scope:level:context:message:exception:threadId: |
| Initializes a new instance of the FMLiveSwitchLogEvent class. More... | |
| (FMLiveSwitchLogLevel) | - level |
| Gets the event level. More... | |
| (FMLiveSwitchLogLevel) | - logLevel |
| Gets the level of this log event. More... | |
| (NSString *) | - message |
| Gets the event message. More... | |
| (NSString *) | - scope |
| Gets the event scope. More... | |
| (void) | - setContext: |
| Sets the event context. More... | |
| (void) | - setException: |
| Sets the event exception, if one exists. More... | |
| (void) | - setLevel: |
| Sets the event level. More... | |
| (void) | - setMessage: |
| Sets the event message. More... | |
| (void) | - setScope: |
| Sets the event scope. More... | |
| (void) | - setTag: |
| Sets the event tag. More... | |
| (void) | - setThreadId: |
| Sets the ID of the thread generating the event. More... | |
| (void) | - setTimestamp: |
| Sets the event timestamp. More... | |
| (NSString *) | - tag |
| Gets the event tag. More... | |
| (long long) | - threadId |
| Gets the ID of the thread generating the event. More... | |
| (NSDate *) | - timestamp |
| Gets the event timestamp. More... | |
| (NSString *) | - toJson |
| Serializes this instance to JSON. More... | |
Class Methods | |
| (FMLiveSwitchLogEvent *) | + fromJsonWithLogEventJson: |
| Deserializes a log event from JSON. More... | |
| (FMLiveSwitchLogEvent *) | + logEventWithTimestamp:tag:scope:level:context:message:exception:threadId: |
| Initializes a new instance of the FMLiveSwitchLogEvent class. More... | |
| (NSString *) | + toJsonWithLogEvent: |
| Serializes a log event to JSON. More... | |
Details about a specific log event.
| - (FMLiveSwitchLogContext*) context |
Gets the event context.
| - (NSString*) description |
| - (NSException*) exception |
Gets the event exception, if one exists.
| + (FMLiveSwitchLogEvent*) fromJsonWithLogEventJson: | (NSString *) | logEventJson |
Deserializes a log event from JSON.
| logEventJson | The log event JSON. |
| - (instancetype) initWithTimestamp: | (NSDate *) | timestamp | |
| tag: | (NSString *) | tag | |
| scope: | (NSString *) | scope | |
| level: | (FMLiveSwitchLogLevel) | level | |
| context: | (FMLiveSwitchLogContext *) | context | |
| message: | (NSString *) | message | |
| exception: | (NSException *) | exception | |
| threadId: | (long long) | threadId | |
Initializes a new instance of the FMLiveSwitchLogEvent class.
| timestamp | The event timestamp. |
| tag | The event tag. |
| scope | The event scope. |
| level | The event level. |
| context | The event context. |
| message | The event message. |
| exception | The event exception, if one exists. |
| threadId | The ID of the thread generating the event. |
| - (FMLiveSwitchLogLevel) level |
Gets the event level.
| + (FMLiveSwitchLogEvent*) logEventWithTimestamp: | (NSDate *) | timestamp | |
| tag: | (NSString *) | tag | |
| scope: | (NSString *) | scope | |
| level: | (FMLiveSwitchLogLevel) | level | |
| context: | (FMLiveSwitchLogContext *) | context | |
| message: | (NSString *) | message | |
| exception: | (NSException *) | exception | |
| threadId: | (long long) | threadId | |
Initializes a new instance of the FMLiveSwitchLogEvent class.
| timestamp | The event timestamp. |
| tag | The event tag. |
| scope | The event scope. |
| level | The event level. |
| context | The event context. |
| message | The event message. |
| exception | The event exception, if one exists. |
| threadId | The ID of the thread generating the event. |
| - (FMLiveSwitchLogLevel) logLevel |
Gets the level of this log event.
Alias for level.
| - (NSString*) message |
Gets the event message.
| - (NSString*) scope |
Gets the event scope.
| - (void) setContext: | (FMLiveSwitchLogContext *) | value |
Sets the event context.
| - (void) setException: | (NSException *) | value |
Sets the event exception, if one exists.
| - (void) setLevel: | (FMLiveSwitchLogLevel) | value |
Sets the event level.
| - (void) setMessage: | (NSString *) | value |
Sets the event message.
| - (void) setScope: | (NSString *) | value |
Sets the event scope.
| - (void) setTag: | (NSString *) | value |
Sets the event tag.
| - (void) setThreadId: | (long long) | value |
Sets the ID of the thread generating the event.
| - (void) setTimestamp: | (NSDate *) | value |
Sets the event timestamp.
| - (NSString*) tag |
Gets the event tag.
| - (long long) threadId |
Gets the ID of the thread generating the event.
| - (NSDate*) timestamp |
Gets the event timestamp.
| - (NSString*) toJson |
Serializes this instance to JSON.
| + (NSString*) toJsonWithLogEvent: | (FMLiveSwitchLogEvent *) | logEvent |
Serializes a log event to JSON.
| logEvent | The log event. |