An implementation of a logging provider that does nothing. More...
Instance Methods | |
(void) | - doLogWithLogEvent: |
Logs a message at the specified log level. More... | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchLogProvider class using defaultLogLevel (FMLiveSwitchLog) as the log level. More... | |
Instance Methods inherited from FMLiveSwitchLogProvider | |
(FMLiveSwitchFunction1< FMLiveSwitchLogEvent *, id > *) | - filter |
Gets a filter on the log provider. More... | |
(NSString *) | - generateLogLineWithLogEvent: |
Generates a default log line. More... | |
(NSString *) | - getPrefixWithLevel:includeTimestamp: |
Converts a log-level to a 5-character string for consistently-spaced character sequences. More... | |
(FMLiveSwitchLogLevel) | - level |
Gets the log level. More... | |
(void) | - logWithLogEvent: |
Log a message. More... | |
(int) | - processId |
Gets the current process id. More... | |
(void) | - setFilter: |
Sets a filter on the log provider. More... | |
(FMLiveSwitchLogEvent *) | - setFilterBlock |
Sets a filter on the log provider. More... | |
(void) | - setFilterBlock: |
Sets a filter on the log provider. More... | |
(void) | - setLevel: |
Sets the log level. More... | |
Class Methods | |
(FMLiveSwitchNullLogProvider *) | + nullLogProvider |
Class Methods inherited from FMLiveSwitchLogProvider | |
(NSString *) | + getLogLevelStringWithLevel: |
Converts a log-level to a 5-character string for consistently-spaced character sequences. More... | |
(NSString *) | + getPrefixTimestamp: |
Converts a timestamp to an ISO-8601-formatted string for rendering in a log message (YYYY-MM-DDThh:mm:ss.sssZ). More... | |
(NSString *) | + getProduct |
Returns the name of the current product. More... | |
(FMLiveSwitchLogProvider *) | + logProvider |
Initializes a new instance of the FMLiveSwitchLogProvider class using defaultLogLevel (FMLiveSwitchLog) as the log level. More... | |
An implementation of a logging provider that does nothing.
- (void) doLogWithLogEvent: | (FMLiveSwitchLogEvent *) | logEvent |
Logs a message at the specified log level.
logEvent | The log event details. |
Implements FMLiveSwitchLogProvider.
- (instancetype) init |
Initializes a new instance of the FMLiveSwitchLogProvider class using defaultLogLevel (FMLiveSwitchLog) as the log level.
Implements FMLiveSwitchLogProvider.
+ (FMLiveSwitchNullLogProvider*) nullLogProvider |