FMLiveSwitchAsyncLoggerBase Class Reference

Instance Methods

(void) - debugWithContext:message:
 Writes a debug message to the log. More...
 
(void) - debugWithContext:message:ex:
 Writes a debug message with exception to the log. More...
 
(void) - debugWithMessage:
 Writes a debug message to the log. More...
 
(void) - debugWithMessage:ex:
 Writes a debug message with exception to the log. More...
 
(void) - debugWithScope:context:message:
 Writes a debug message to the log. More...
 
(void) - debugWithScope:context:message:ex:
 Writes a debug message with exception to the log. More...
 
(void) - debugWithScope:message:
 Writes a debug message to the log. More...
 
(void) - debugWithScope:message:ex:
 Writes a debug message with exception to the log. More...
 
(void) - doLogWithLevel:scope:context:message:exception:
 
(void) - doQueueLogEvent:
 
(void) - errorWithContext:message:
 Writes a error message to the log. More...
 
(void) - errorWithContext:message:ex:
 Writes a error message with exception to the log. More...
 
(void) - errorWithMessage:
 Writes a error message to the log. More...
 
(void) - errorWithMessage:ex:
 Writes a error message with exception to the log. More...
 
(void) - errorWithScope:context:message:
 Writes a error message to the log. More...
 
(void) - errorWithScope:context:message:ex:
 Writes a error message with exception to the log. More...
 
(void) - errorWithScope:message:
 Writes a error message to the log. More...
 
(void) - errorWithScope:message:ex:
 Writes a error message with exception to the log. More...
 
(void) - fatalWithContext:message:
 Writes a fatal message to the log. More...
 
(void) - fatalWithContext:message:ex:
 Writes a fatal message with exception to the log. More...
 
(void) - fatalWithMessage:
 Writes a fatal message to the log. More...
 
(void) - fatalWithMessage:ex:
 Writes a fatal message with exception to the log. More...
 
(void) - fatalWithScope:context:message:
 Writes a fatal message to the log. More...
 
(void) - fatalWithScope:context:message:ex:
 Writes a fatal message with exception to the log. More...
 
(void) - fatalWithScope:message:
 Writes a fatal message to the log. More...
 
(void) - fatalWithScope:message:ex:
 Writes a fatal message with exception to the log. More...
 
(void) - flush
 Ensures that all logs are written out. More...
 
(void) - infoWithContext:message:
 Writes a info message to the log. More...
 
(void) - infoWithContext:message:ex:
 Writes an info message with exception to the log. More...
 
(void) - infoWithMessage:
 Writes a info message to the log. More...
 
(void) - infoWithMessage:ex:
 Writes an info message with exception to the log. More...
 
(void) - infoWithScope:context:message:
 Writes a info message to the log. More...
 
(void) - infoWithScope:context:message:ex:
 Writes an info message with exception to the log. More...
 
(void) - infoWithScope:message:
 Writes a info message to the log. More...
 
(void) - infoWithScope:message:ex:
 Writes an info message with exception to the log. More...
 
(instancetype) - initWithTag:
 
(bool) - isDebugEnabled
 Gets if the debug log level is enabled. More...
 
(bool) - isErrorEnabled
 Gets if the error log level is enabled. More...
 
(bool) - isFatalEnabled
 Gets if the fatal log level is enabled. More...
 
(bool) - isInfoEnabled
 Gets if the info log level is enabled. More...
 
(bool) - isLogEnabledWithLevel:
 Returns true if the passed log level is enabled on this logger. More...
 
(bool) - isVerboseEnabled
 Gets if the verbose log level is enabled. More...
 
(bool) - isWarnEnabled
 Gets if the warn log level is enabled. More...
 
(void) - logWithContext:message:
 Writes a generic message to the log. More...
 
(void) - logWithLogEvent:
 Writes a log event to the log. More...
 
(void) - logWithMessage:
 Writes a generic message to the log. More...
 
(void) - logWithScope:context:message:
 Writes a generic message to the log. More...
 
(void) - logWithScope:message:
 Writes a generic message to the log. More...
 
(NSString *) - tag
 Gets the tag of the logger. More...
 
(void) - verboseWithContext:message:
 Writes a verbose message to the log. More...
 
(void) - verboseWithContext:message:ex:
 Writes a verbose message with exception to the log. More...
 
(void) - verboseWithMessage:
 Writes a verbose message to the log. More...
 
(void) - verboseWithMessage:ex:
 Writes a verbose message with exception to the log. More...
 
(void) - verboseWithScope:context:message:
 Writes a verbose message to the log. More...
 
(void) - verboseWithScope:context:message:ex:
 Writes a verbose message with exception to the log. More...
 
(void) - verboseWithScope:message:
 Writes a verbose message to the log. More...
 
(void) - verboseWithScope:message:ex:
 Writes a verbose message with exception to the log. More...
 
(void) - warnWithContext:message:
 Writes a warn message to the log. More...
 
(void) - warnWithContext:message:ex:
 Writes a warn message with exception to the log. More...
 
(void) - warnWithMessage:
 Writes a warn message to the log. More...
 
(void) - warnWithMessage:ex:
 Writes a warn message with exception to the log. More...
 
(void) - warnWithScope:context:message:
 Writes a warn message to the log. More...
 
(void) - warnWithScope:context:message:ex:
 Writes a warn message with exception to the log. More...
 
(void) - warnWithScope:message:
 Writes a warn message to the log. More...
 
(void) - warnWithScope:message:ex:
 Writes a warn message with exception to the log. More...
 

Class Methods

(FMLiveSwitchAsyncLoggerBase *) + asyncLoggerBaseWithTag:
 
(void) + processLogEvent:
 

Method Documentation

◆ asyncLoggerBaseWithTag:

+ (FMLiveSwitchAsyncLoggerBase*) asyncLoggerBaseWithTag: (NSString *)  tag

◆ debugWithContext:message:

- (void) debugWithContext: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message 

Writes a debug message to the log.

Parameters
messageThe log message.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ debugWithContext:message:ex:

- (void) debugWithContext: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message
ex: (NSException *)  ex 

Writes a debug message with exception to the log.

Parameters
messageThe log message.
exThe exception.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ debugWithMessage:

- (void) debugWithMessage: (NSString *)  message

Writes a debug message to the log.

Parameters
messageThe log message.

Reimplemented from <FMLiveSwitchILog>.

◆ debugWithMessage:ex:

- (void) debugWithMessage: (NSString *)  message
ex: (NSException *)  ex 

Writes a debug message with exception to the log.

Parameters
messageThe log message.
exThe exception.

Reimplemented from <FMLiveSwitchILog>.

◆ debugWithScope:context:message:

- (void) debugWithScope: (NSString *)  scope
context: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message 

Writes a debug message to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ debugWithScope:context:message:ex:

- (void) debugWithScope: (NSString *)  scope
context: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message
ex: (NSException *)  ex 

Writes a debug message with exception to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.
exThe exception.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ debugWithScope:message:

- (void) debugWithScope: (NSString *)  scope
message: (NSString *)  message 

Writes a debug message to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.

Reimplemented from <FMLiveSwitchILog>.

◆ debugWithScope:message:ex:

- (void) debugWithScope: (NSString *)  scope
message: (NSString *)  message
ex: (NSException *)  ex 

Writes a debug message with exception to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.
exThe exception.

Reimplemented from <FMLiveSwitchILog>.

◆ doLogWithLevel:scope:context:message:exception:

- (void) doLogWithLevel: (FMLiveSwitchLogLevel)  level
scope: (NSString *)  scope
context: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message
exception: (NSException *)  exception 

◆ doQueueLogEvent:

- (void) doQueueLogEvent: (FMLiveSwitchLogEvent *)  logEvent

Implemented in FMLiveSwitchAsyncLogger.

◆ errorWithContext:message:

- (void) errorWithContext: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message 

Writes a error message to the log.

Parameters
messageThe log message.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ errorWithContext:message:ex:

- (void) errorWithContext: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message
ex: (NSException *)  ex 

Writes a error message with exception to the log.

Parameters
messageThe log message.
exThe exception.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ errorWithMessage:

- (void) errorWithMessage: (NSString *)  message

Writes a error message to the log.

Parameters
messageThe log message.

Reimplemented from <FMLiveSwitchILog>.

◆ errorWithMessage:ex:

- (void) errorWithMessage: (NSString *)  message
ex: (NSException *)  ex 

Writes a error message with exception to the log.

Parameters
messageThe log message.
exThe exception.

Reimplemented from <FMLiveSwitchILog>.

◆ errorWithScope:context:message:

- (void) errorWithScope: (NSString *)  scope
context: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message 

Writes a error message to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ errorWithScope:context:message:ex:

- (void) errorWithScope: (NSString *)  scope
context: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message
ex: (NSException *)  ex 

Writes a error message with exception to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.
exThe exception.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ errorWithScope:message:

- (void) errorWithScope: (NSString *)  scope
message: (NSString *)  message 

Writes a error message to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.

Reimplemented from <FMLiveSwitchILog>.

◆ errorWithScope:message:ex:

- (void) errorWithScope: (NSString *)  scope
message: (NSString *)  message
ex: (NSException *)  ex 

Writes a error message with exception to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.
exThe exception.

Reimplemented from <FMLiveSwitchILog>.

◆ fatalWithContext:message:

- (void) fatalWithContext: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message 

Writes a fatal message to the log.

Parameters
messageThe log message.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ fatalWithContext:message:ex:

- (void) fatalWithContext: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message
ex: (NSException *)  ex 

Writes a fatal message with exception to the log.

Parameters
messageThe log message.
exThe exception.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ fatalWithMessage:

- (void) fatalWithMessage: (NSString *)  message

Writes a fatal message to the log.

Parameters
messageThe log message.

Reimplemented from <FMLiveSwitchILog>.

◆ fatalWithMessage:ex:

- (void) fatalWithMessage: (NSString *)  message
ex: (NSException *)  ex 

Writes a fatal message with exception to the log.

Parameters
messageThe log message.
exThe exception.

Reimplemented from <FMLiveSwitchILog>.

◆ fatalWithScope:context:message:

- (void) fatalWithScope: (NSString *)  scope
context: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message 

Writes a fatal message to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ fatalWithScope:context:message:ex:

- (void) fatalWithScope: (NSString *)  scope
context: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message
ex: (NSException *)  ex 

Writes a fatal message with exception to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.
exThe exception.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ fatalWithScope:message:

- (void) fatalWithScope: (NSString *)  scope
message: (NSString *)  message 

Writes a fatal message to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.

Reimplemented from <FMLiveSwitchILog>.

◆ fatalWithScope:message:ex:

- (void) fatalWithScope: (NSString *)  scope
message: (NSString *)  message
ex: (NSException *)  ex 

Writes a fatal message with exception to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.
exThe exception.

Reimplemented from <FMLiveSwitchILog>.

◆ flush

- (void) flush

Ensures that all logs are written out.

Reimplemented from <FMLiveSwitchILog>.

Implemented in FMLiveSwitchAsyncLogger.

◆ infoWithContext:message:

- (void) infoWithContext: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message 

Writes a info message to the log.

Parameters
messageThe log message.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ infoWithContext:message:ex:

- (void) infoWithContext: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message
ex: (NSException *)  ex 

Writes an info message with exception to the log.

Parameters
messageThe log message.
exThe exception.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ infoWithMessage:

- (void) infoWithMessage: (NSString *)  message

Writes a info message to the log.

Parameters
messageThe log message.

Reimplemented from <FMLiveSwitchILog>.

◆ infoWithMessage:ex:

- (void) infoWithMessage: (NSString *)  message
ex: (NSException *)  ex 

Writes an info message with exception to the log.

Parameters
messageThe log message.
exThe exception.

Reimplemented from <FMLiveSwitchILog>.

◆ infoWithScope:context:message:

- (void) infoWithScope: (NSString *)  scope
context: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message 

Writes a info message to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ infoWithScope:context:message:ex:

- (void) infoWithScope: (NSString *)  scope
context: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message
ex: (NSException *)  ex 

Writes an info message with exception to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.
exThe exception.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ infoWithScope:message:

- (void) infoWithScope: (NSString *)  scope
message: (NSString *)  message 

Writes a info message to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.

Reimplemented from <FMLiveSwitchILog>.

◆ infoWithScope:message:ex:

- (void) infoWithScope: (NSString *)  scope
message: (NSString *)  message
ex: (NSException *)  ex 

Writes an info message with exception to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.
exThe exception.

Reimplemented from <FMLiveSwitchILog>.

◆ initWithTag:

- (instancetype) initWithTag: (NSString *)  tag

Implemented in FMLiveSwitchAsyncLogger.

◆ isDebugEnabled

- (bool) isDebugEnabled

Gets if the debug log level is enabled.

Reimplemented from <FMLiveSwitchILog>.

◆ isErrorEnabled

- (bool) isErrorEnabled

Gets if the error log level is enabled.

Reimplemented from <FMLiveSwitchILog>.

◆ isFatalEnabled

- (bool) isFatalEnabled

Gets if the fatal log level is enabled.

Reimplemented from <FMLiveSwitchILog>.

◆ isInfoEnabled

- (bool) isInfoEnabled

Gets if the info log level is enabled.

Reimplemented from <FMLiveSwitchILog>.

◆ isLogEnabledWithLevel:

- (bool) isLogEnabledWithLevel: (FMLiveSwitchLogLevel)  level

Returns true if the passed log level is enabled on this logger.

Parameters
levelLog level to check.

Reimplemented from <FMLiveSwitchILog>.

◆ isVerboseEnabled

- (bool) isVerboseEnabled

Gets if the verbose log level is enabled.

Reimplemented from <FMLiveSwitchILog>.

◆ isWarnEnabled

- (bool) isWarnEnabled

Gets if the warn log level is enabled.

Reimplemented from <FMLiveSwitchILog>.

◆ logWithContext:message:

- (void) logWithContext: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message 

Writes a generic message to the log.

Parameters
messageThe log message.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ logWithLogEvent:

- (void) logWithLogEvent: (FMLiveSwitchLogEvent *)  logEvent

Writes a log event to the log.

Parameters
logEventThe log event.

Reimplemented from <FMLiveSwitchILog>.

◆ logWithMessage:

- (void) logWithMessage: (NSString *)  message

Writes a generic message to the log.

Parameters
messageThe log message.

Reimplemented from <FMLiveSwitchILog>.

◆ logWithScope:context:message:

- (void) logWithScope: (NSString *)  scope
context: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message 

Writes a generic message to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ logWithScope:message:

- (void) logWithScope: (NSString *)  scope
message: (NSString *)  message 

Writes a generic message to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.

Reimplemented from <FMLiveSwitchILog>.

◆ processLogEvent:

+ (void) processLogEvent: (FMLiveSwitchLogEvent *)  logEvent

◆ tag

- (NSString*) tag

Gets the tag of the logger.

Reimplemented from <FMLiveSwitchILog>.

◆ verboseWithContext:message:

- (void) verboseWithContext: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message 

Writes a verbose message to the log.

Parameters
messageThe log message.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ verboseWithContext:message:ex:

- (void) verboseWithContext: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message
ex: (NSException *)  ex 

Writes a verbose message with exception to the log.

Parameters
messageThe log message.
contextthe logigng context.
exThe exception.

Reimplemented from <FMLiveSwitchILog>.

◆ verboseWithMessage:

- (void) verboseWithMessage: (NSString *)  message

Writes a verbose message to the log.

Parameters
messageThe log message.

Reimplemented from <FMLiveSwitchILog>.

◆ verboseWithMessage:ex:

- (void) verboseWithMessage: (NSString *)  message
ex: (NSException *)  ex 

Writes a verbose message with exception to the log.

Parameters
messageThe log message.
exThe exception.

Reimplemented from <FMLiveSwitchILog>.

◆ verboseWithScope:context:message:

- (void) verboseWithScope: (NSString *)  scope
context: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message 

Writes a verbose message to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ verboseWithScope:context:message:ex:

- (void) verboseWithScope: (NSString *)  scope
context: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message
ex: (NSException *)  ex 

Writes a verbose message with exception to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.
exThe exception.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ verboseWithScope:message:

- (void) verboseWithScope: (NSString *)  scope
message: (NSString *)  message 

Writes a verbose message to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.

Reimplemented from <FMLiveSwitchILog>.

◆ verboseWithScope:message:ex:

- (void) verboseWithScope: (NSString *)  scope
message: (NSString *)  message
ex: (NSException *)  ex 

Writes a verbose message with exception to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.
exThe exception.

Reimplemented from <FMLiveSwitchILog>.

◆ warnWithContext:message:

- (void) warnWithContext: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message 

Writes a warn message to the log.

Parameters
messageThe log message.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ warnWithContext:message:ex:

- (void) warnWithContext: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message
ex: (NSException *)  ex 

Writes a warn message with exception to the log.

Parameters
messageThe log message.
exThe exception.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ warnWithMessage:

- (void) warnWithMessage: (NSString *)  message

Writes a warn message to the log.

Parameters
messageThe log message.

Reimplemented from <FMLiveSwitchILog>.

◆ warnWithMessage:ex:

- (void) warnWithMessage: (NSString *)  message
ex: (NSException *)  ex 

Writes a warn message with exception to the log.

Parameters
messageThe log message.
exThe exception.

Reimplemented from <FMLiveSwitchILog>.

◆ warnWithScope:context:message:

- (void) warnWithScope: (NSString *)  scope
context: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message 

Writes a warn message to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ warnWithScope:context:message:ex:

- (void) warnWithScope: (NSString *)  scope
context: (FMLiveSwitchLogContext *)  context
message: (NSString *)  message
ex: (NSException *)  ex 

Writes a warn message with exception to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.
exThe exception.
contextthe logigng context.

Reimplemented from <FMLiveSwitchILog>.

◆ warnWithScope:message:

- (void) warnWithScope: (NSString *)  scope
message: (NSString *)  message 

Writes a warn message to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.

Reimplemented from <FMLiveSwitchILog>.

◆ warnWithScope:message:ex:

- (void) warnWithScope: (NSString *)  scope
message: (NSString *)  message
ex: (NSException *)  ex 

Writes a warn message with exception to the log.

Parameters
scopeThe scope of this log message.
messageThe log message.
exThe exception.

Reimplemented from <FMLiveSwitchILog>.