FMLiveSwitchLogEventInfo Class Reference

Log event information. More...

Instance Methods

(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(NSString *) - exception
 Gets the log event exception message. More...
 
(instancetype) - init
 
(NSString *) - level
 Gets the log event level. More...
 
(NSString *) - message
 Gets the log event message. More...
 
(NSString *) - scope
 Gets the log event scope. More...
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setException:
 Sets the log event exception message. More...
 
(void) - setMessage:
 Sets the log event message. More...
 
(void) - setScope:
 Sets the log event scope. More...
 
(void) - setTag:
 Sets the log event tag. More...
 
(void) - setThreadId:
 Sets the log event thread ID. More...
 
(NSString *) - tag
 Gets the log event tag. More...
 
(long long) - threadId
 Gets the log event thread ID. More...
 
(NSString *) - toJson
 Serializes this instance to Json. More...
 
- Instance Methods inherited from FMLiveSwitchInfo
(NSString *) - id
 Gets the identifier. More...
 
(void) - setId:
 Sets the identifier. More...
 

Class Methods

(FMLiveSwitchLogEventInfo *) + fromJsonWithLogEventInfoJson:
 Deserializes Json to a LogEventInfo. More...
 
(FMLiveSwitchLogEventInfo *) + logEventInfo
 
(NSString *) + toJsonWithLogEventInfo:
 Serializes an instance to Json. More...
 
- Class Methods inherited from FMLiveSwitchInfo
(FMLiveSwitchInfo *) + info
 
(NSMutableArray *) + processArrayWithNewValues:oldValues:
 Processes an array for an info. More...
 
(NSMutableArray *) + processBooleanArrayWithNewValues:oldValues:
 Processes a boolean array for an info. More...
 
(FMLiveSwitchNullableBool *) + processBooleanWithNewValue:oldValue:
 Processes a boolean for an info. More...
 
(FMLiveSwitchNullableDouble *) + processDoubleWithNewValue:oldValue:
 Processes a double for an info. More...
 
(NSMutableArray *) + processFloatArrayWithNewValues:oldValues:
 Processes a float array for an info. More...
 
(FMLiveSwitchNullableFloat *) + processFloatWithNewValue:oldValue:
 Processes a float for an info. More...
 
(NSMutableArray *) + processIntegerArrayWithNewValues:oldValues:
 Processes a integer array for an info. More...
 
(FMLiveSwitchNullableInt *) + processIntegerWithNewValue:oldValue:
 Processes an integer for an info. More...
 
(NSMutableArray *) + processLongArrayWithNewValues:oldValues:
 Processes a long array for an info. More...
 
(FMLiveSwitchNullableLong *) + processLongWithNewValue:oldValue:
 Processes a long for an info. More...
 
(NSObject< FMLiveSwitchIEquivalent > *) + processObjectWithNewValue:oldValue:
 Processes an object for an info. More...
 
(NSMutableArray *) + processShortArrayWithNewValues:oldValues:
 Processes a short array for an info. More...
 
(FMLiveSwitchNullableShort *) + processShortWithNewValue:oldValue:
 Processes a short for an info. More...
 
(NSString *) + processStringWithNewValue:oldValue:
 Processes a string for an info. More...
 

Detailed Description

Log event information.

Method Documentation

◆ deserializePropertiesWithKey:valueJson:

- (void) deserializePropertiesWithKey: (NSString *)  key
valueJson: (NSString *)  valueJson 

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Implements FMLiveSwitchInfo.

◆ exception

- (NSString*) exception

Gets the log event exception message.

◆ fromJsonWithLogEventInfoJson:

+ (FMLiveSwitchLogEventInfo*) fromJsonWithLogEventInfoJson: (NSString *)  logEventInfoJson

Deserializes Json to a LogEventInfo.

Parameters
logEventInfoJsonThe serialized Json.
Returns
The deserialized LogEventInfo.

◆ init

- (instancetype) init

Implements FMLiveSwitchInfo.

◆ level

- (NSString*) level

Gets the log event level.

◆ logEventInfo

+ (FMLiveSwitchLogEventInfo*) logEventInfo

◆ message

- (NSString*) message

Gets the log event message.

◆ scope

- (NSString*) scope

Gets the log event scope.

◆ serializePropertiesWithJsonObject:

- (void) serializePropertiesWithJsonObject: (NSMutableDictionary< NSString *, NSString * > *)  jsonObject

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Implements FMLiveSwitchInfo.

◆ setException:

- (void) setException: (NSString *)  value

Sets the log event exception message.

◆ setMessage:

- (void) setMessage: (NSString *)  value

Sets the log event message.

◆ setScope:

- (void) setScope: (NSString *)  value

Sets the log event scope.

◆ setTag:

- (void) setTag: (NSString *)  value

Sets the log event tag.

◆ setThreadId:

- (void) setThreadId: (long long)  value

Sets the log event thread ID.

◆ tag

- (NSString*) tag

Gets the log event tag.

◆ threadId

- (long long) threadId

Gets the log event thread ID.

◆ toJson

- (NSString*) toJson

Serializes this instance to Json.

◆ toJsonWithLogEventInfo:

+ (NSString*) toJsonWithLogEventInfo: (FMLiveSwitchLogEventInfo *)  logEventInfo

Serializes an instance to Json.

Parameters
logEventInfoThe instance to serialize.
Returns
Serialized Json.