All Classes
-
Class Summary Class Description Log4jAppenderToLogback Log4jAppenderToLogback.Log4jAppenderToLogbackVisitoroperates on the following assumptions: The contents of the append() method remains unchanged. The requiresLayout() method is not used in logback and can be removed. In logback, the stop() method is the equivalent of log4j's close() method.Log4jAppenderToLogback.Log4jAppenderToLogbackVisitor Log4jLayoutToLogback Log4jLayoutToLogback.Log4jLayoutToLogbackVisitoroperates on the following assumptions: A logback-classic layout must extend theLayoutBase<ILoggingEvent>class. log4j's format() is renamed to doLayout() in a logback-classic layout. LoggingEvent getRenderedMessage() is converted to LoggingEvent getMessage(). The log4j ignoresThrowable() method is not needed and has no equivalent in logback-classic. The activateOptions() method merits further discussion.Log4jLayoutToLogback.Log4jLayoutToLogbackVisitor Log4jToSlf4j ParameterizedLogging PrependRandomName PrintStackTraceToLogError Slf4jLogShouldBeConstant