org.eclipse.emf.emfstore.internal.common
Class LogAdapter

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.common.LogAdapter
All Implemented Interfaces:
ILog

public class LogAdapter
extends Object
implements ILog

Implements a log for EMFStore Common.

Author:
koegel

Constructor Summary
LogAdapter()
           
 
Method Summary
 void log(String message, Exception exception, int statusInt)
          Log an error.
 void logException(String message, Exception exception)
          Log an exception as an error.
 void logWarning(String message, Exception exception)
          Log an exception as a warning.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogAdapter

public LogAdapter()
Method Detail

log

public void log(String message,
                Exception exception,
                int statusInt)
Log an error.

Specified by:
log in interface ILog
Parameters:
message - the message
exception - the causing exception
statusInt - a status
See Also:
ILog.log(java.lang.String, java.lang.Exception, int)

logException

public void logException(String message,
                         Exception exception)
Log an exception as an error.

Specified by:
logException in interface ILog
Parameters:
message - the message
exception - the causing exception.
See Also:
ILog.logException(java.lang.String, java.lang.Exception)

logWarning

public void logWarning(String message,
                       Exception exception)
Log an exception as a warning.

Specified by:
logWarning in interface ILog
Parameters:
message - the message
exception - the causing exception
See Also:
ILog.logWarning(java.lang.String, java.lang.Exception)


Copyright © 2015. All Rights Reserved.