"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "log4j-1.2-api/src/main/java/org/apache/log4j/Layout.java" between
apache-log4j-2.11.1-src.tar.gz and apache-log4j-2.11.2-src.tar.gz

About: Apache Log4j 2 is a logging library for Java. Source distribution (Java).

Layout.java  (apache-log4j-2.11.1-src):Layout.java  (apache-log4j-2.11.2-src)
skipping to change at line 27 skipping to change at line 27
package org.apache.log4j; package org.apache.log4j;
import org.apache.log4j.spi.LoggingEvent; import org.apache.log4j.spi.LoggingEvent;
import org.apache.logging.log4j.util.Strings; import org.apache.logging.log4j.util.Strings;
/** /**
* *
*/ */
public abstract class Layout { public abstract class Layout {
public final static String LINE_SEP = Strings.LINE_SEPARATOR;
/** Note that the line.separator property can be looked up even by applets. */ /** Note that the line.separator property can be looked up even by applets. */
public static final int LINE_SEP_LEN = Strings.LINE_SEPARATOR.length(); public static final int LINE_SEP_LEN = Strings.LINE_SEPARATOR.length();
/** /**
* Implement this method to create your own layout format. * Implement this method to create your own layout format.
* @param event The LoggingEvent. * @param event The LoggingEvent.
* @return The formatted LoggingEvent. * @return The formatted LoggingEvent.
*/ */
public abstract String format(LoggingEvent event); public abstract String format(LoggingEvent event);
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)