<FMLiveSwitchILog> Protocol Reference

ILog interface for loggers. More...

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

Detailed Description

ILog interface for loggers.

Method Documentation

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

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

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

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

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

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

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