Class EMFCompareLogger

java.lang.Object
org.eclipse.emf.compare.rcp.EMFCompareLogger

public class EMFCompareLogger
extends java.lang.Object
Mimics the Log4J 1 logger interface but sends all logging to the Eclipse log. This allows us to remove Log4J 1 with limited impacts.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  EMFCompareLogger.Level  
  • Constructor Summary

    Constructors 
    Constructor Description
    EMFCompareLogger​(java.lang.Class<?> caller)  
  • Method Summary

    Modifier and Type Method Description
    void debug​(java.lang.String message)  
    void info​(java.lang.String message)  
    boolean isDebugEnabled()  
    boolean isInfoEnabled()  
    static void setLevel​(java.lang.String newLevel)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • isInfoEnabled

      public boolean isInfoEnabled()
    • isDebugEnabled

      public boolean isDebugEnabled()
    • setLevel

      public static void setLevel​(java.lang.String newLevel)
    • info

      public void info​(java.lang.String message)
    • debug

      public void debug​(java.lang.String message)