<FMLiveSwitchILog> Protocol Reference

ILog interface for loggers. More...

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) - 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...
 
(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...
 

Detailed Description

ILog interface for loggers.

Method Documentation

◆ debugWithContext:message:

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

Writes a debug message to the log.

Parameters
messageThe log message.
contextthe logigng context.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ debugWithMessage:

- (void) debugWithMessage: (NSString *)  message

Writes a debug message to the log.

Parameters
messageThe log message.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ errorWithContext:message:

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

Writes a error message to the log.

Parameters
messageThe log message.
contextthe logigng context.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ errorWithMessage:

- (void) errorWithMessage: (NSString *)  message

Writes a error message to the log.

Parameters
messageThe log message.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ fatalWithContext:message:

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

Writes a fatal message to the log.

Parameters
messageThe log message.
contextthe logigng context.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ fatalWithMessage:

- (void) fatalWithMessage: (NSString *)  message

Writes a fatal message to the log.

Parameters
messageThe log message.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ flush

- (void) flush

Ensures that all logs are written out.

Reimplemented in FMLiveSwitchAsyncLoggerBase, and 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ infoWithMessage:

- (void) infoWithMessage: (NSString *)  message

Writes a info message to the log.

Parameters
messageThe log message.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ isDebugEnabled

- (bool) isDebugEnabled

Gets if the debug log level is enabled.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ isErrorEnabled

- (bool) isErrorEnabled

Gets if the error log level is enabled.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ isFatalEnabled

- (bool) isFatalEnabled

Gets if the fatal log level is enabled.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ isInfoEnabled

- (bool) isInfoEnabled

Gets if the info log level is enabled.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ isLogEnabledWithLevel:

- (bool) isLogEnabledWithLevel: (FMLiveSwitchLogLevel)  level

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

Parameters
levelLog level to check.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ isVerboseEnabled

- (bool) isVerboseEnabled

Gets if the verbose log level is enabled.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ isWarnEnabled

- (bool) isWarnEnabled

Gets if the warn log level is enabled.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ logWithContext:message:

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

Writes a generic message to the log.

Parameters
messageThe log message.
contextthe logigng context.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ logWithLogEvent:

- (void) logWithLogEvent: (FMLiveSwitchLogEvent *)  logEvent

Writes a log event to the log.

Parameters
logEventThe log event.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ logWithMessage:

- (void) logWithMessage: (NSString *)  message

Writes a generic message to the log.

Parameters
messageThe log message.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ tag

- (NSString*) tag

Gets the tag of the logger.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ verboseWithContext:message:

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

Writes a verbose message to the log.

Parameters
messageThe log message.
contextthe logigng context.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ verboseWithMessage:

- (void) verboseWithMessage: (NSString *)  message

Writes a verbose message to the log.

Parameters
messageThe log message.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ warnWithContext:message:

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

Writes a warn message to the log.

Parameters
messageThe log message.
contextthe logigng context.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ warnWithMessage:

- (void) warnWithMessage: (NSString *)  message

Writes a warn message to the log.

Parameters
messageThe log message.

Reimplemented in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.

◆ 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 in FMLiveSwitchAsyncLoggerBase.