"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "logback-classic/src/test/input/gaffer/appenderRefWithNonAppenderAttachable.groovy" between
logback-1.2.3.tar.gz and logback-v_1.2.7.tar.gz

About: Logback is a generic Logging Framework (intended as a log4j successor).

appenderRefWithNonAppenderAttachable.groovy  (logback-1.2.3):appenderRefWithNonAppenderAttachable.groovy  (logback-v_1.2.7)
skipping to change at line 21 skipping to change at line 21
* under the terms of the GNU Lesser General Public License version 2.1 * under the terms of the GNU Lesser General Public License version 2.1
* as published by the Free Software Foundation. * as published by the Free Software Foundation.
*/ */
import ch.qos.logback.classic.PatternLayout import ch.qos.logback.classic.PatternLayout
import ch.qos.logback.core.ConsoleAppender import ch.qos.logback.core.ConsoleAppender
import ch.qos.logback.core.encoder.LayoutWrappingEncoder import ch.qos.logback.core.encoder.LayoutWrappingEncoder
appender("STDOUT", ConsoleAppender) { appender("STDOUT", ConsoleAppender) {
encoder(LayoutWrappingEncoder) { encoder(LayoutWrappingEncoder) {
layout(PatternLayout) { layout(PatternLayout) {
pattern = "${p} %m%n" pattern = "%m%n"
} }
} }
} }
appender("STDOUT-WITH-APPENDERREF", ConsoleAppender) { appender("STDOUT-WITH-APPENDERREF", ConsoleAppender) {
appenderRef('STDOUT') appenderRef('STDOUT')
} }
root(DEBUG, ["STDOUT-ASYNC"]) root(DEBUG, ["STDOUT-ASYNC"])
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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