Package jetbrains.mps.logging
Class Logger
- java.lang.Object
 - 
- jetbrains.mps.logging.Logger
 
 
- 
- Direct Known Subclasses:
 Log4jLogger
public abstract class Logger extends Object
log4j logger augmented with hint object 
- 
- 
Constructor Summary
Constructors Constructor Description Logger() 
- 
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidassertLog(boolean condition)abstract voidassertLog(boolean condition, String message)voiddebug(String message)voiddebug(String message, Object hintObject)voiddebug(String message, Throwable t)abstract voiddebug(String message, Throwable t, Object hintObject)voiderror(String message)voiderror(String message, Object hintObject)voiderror(String message, Throwable t)abstract voiderror(String message, Throwable t, Object hintObject)voiderror(Throwable t)voiderror(Throwable t, Object hintObject)voiderrorWithTrace(String message)voidfatal(String message)voidfatal(String message, Object hintObject)voidfatal(String message, Throwable t)abstract voidfatal(String message, Throwable t, Object hintObject)voidinfo(String message)voidinfo(String message, Object hintObject)voidinfo(String message, Throwable t)abstract voidinfo(String message, Throwable t, Object hintObject)voidwarning(String message)voidwarning(String message, Object hintObject)voidwarning(String message, Throwable t)abstract voidwarning(String message, Throwable t, Object hintObject)static Loggerwrap(org.apache.log4j.Logger logger)Adapts log4j logger to our extended facility These two methods we need for a migration script 
 - 
 
- 
- 
Method Detail
- 
wrap
public static Logger wrap(org.apache.log4j.Logger logger)
Adapts log4j logger to our extended facility These two methods we need for a migration script 
- 
info
public void info(String message)
 
- 
warning
public void warning(String message)
 
- 
debug
public void debug(String message)
 
- 
error
public void error(String message)
 
- 
error
public void error(Throwable t)
 
- 
errorWithTrace
public void errorWithTrace(String message)
 
- 
fatal
public void fatal(String message)
 
- 
assertLog
public void assertLog(boolean condition)
 
- 
assertLog
public abstract void assertLog(boolean condition, String message) 
 - 
 
 -