FMLiveSwitchAsyncLoggerBase Class Reference

Instance Methods

(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: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:message:exception:
 
(void) - doQueueLogEvent:
 
(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:message:
 Writes a error message to the log. More...
 
(void) - errorWithScope:message:ex:
 Writes a error 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: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) - infoWithMessage:
 Writes a info message to the log. More...
 
(void) - infoWithMessage: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) - logWithLogEvent:
 Writes a log event to the log. More...
 
(void) - logWithMessage:
 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) - verboseWithMessage:
 Writes a verbose message to the log. More...
 
(void) - verboseWithMessage: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) - warnWithMessage:
 Writes a warn message to the log. More...
 
(void) - warnWithMessage: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

◆ 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: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:message:exception:

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

◆ doQueueLogEvent:

- (void) doQueueLogEvent: (FMLiveSwitchLogEvent *)  logEvent

Implemented in FMLiveSwitchAsyncLogger.

◆ 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: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>.

◆ 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: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.

◆ 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: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>.

◆ 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: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>.

◆ 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: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>.

◆ 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: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>.