ILogger Interface

public interface ILogger

The logger for the service client

Method Summary

Modifier and Type Method and Description
abstract LoggerLevel getLoggingLevel()

Gets the logging level of this logger

abstract void logDebug(String message)

Log a debug message

abstract void logError(String message, Throwable throwable)

Log an error message with throwable

abstract void setLoggingLevel(LoggerLevel level)

Sets the logging level of this logger

Method Details

getLoggingLevel

public abstract LoggerLevel getLoggingLevel()

Gets the logging level of this logger

Returns:

the level the logger is set to

logDebug

public abstract void logDebug(String message)

Log a debug message

Parameters:

message - the message

logError

public abstract void logError(String message, Throwable throwable)

Log an error message with throwable

Parameters:

message - the message
throwable - the throwable

setLoggingLevel

public abstract void setLoggingLevel(LoggerLevel level)

Sets the logging level of this logger

Parameters:

level - the level to log at

Applies to