org.mockcentral.editor.logging
Interface IMockCentralLogger


public interface IMockCentralLogger

Interface for classes used to log info or error messages generated within a MockCentral editor application.

Author:
David Hutchinson

Method Summary
 void logError(java.lang.String message, java.lang.Throwable exception)
          Logs the error indicated by the supplied message and exception.
 void logError(java.lang.Throwable exception)
          Logs the error indicated by the supplied exception.
 void logInfo(java.lang.String message)
          Logs the information contained in the supplied message.
 void logWarning(java.lang.String message)
          Logs the warning contained in the supplied message.
 

Method Detail

logInfo

void logInfo(java.lang.String message)
Logs the information contained in the supplied message.

Parameters:
message - the message for the info-level logging.

logWarning

void logWarning(java.lang.String message)
Logs the warning contained in the supplied message.

Parameters:
message - the message for the warning-level logging.

logError

void logError(java.lang.Throwable exception)
Logs the error indicated by the supplied exception.

Parameters:
exception - the exception for the error-level logging.

logError

void logError(java.lang.String message,
              java.lang.Throwable exception)
Logs the error indicated by the supplied message and exception.

Parameters:
message - the message for the error-level logging.
exception - the exception for the error-level logging.