"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "logback-classic/src/test/input/gaffer/asyncAppender.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).

asyncAppender.groovy  (logback-1.2.3):asyncAppender.groovy  (logback-v_1.2.7)
skipping to change at line 19 skipping to change at line 19
* or (per the licensee's choosing) * or (per the licensee's choosing)
* *
* 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.AsyncAppender import ch.qos.logback.classic.AsyncAppender
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
def p = "HELLO"
appender("STDOUT", ConsoleAppender) { appender("STDOUT", ConsoleAppender) {
encoder(LayoutWrappingEncoder) { encoder(LayoutWrappingEncoder) {
layout(PatternLayout) { layout(PatternLayout) {
pattern = "${p} %m%n" pattern = "${p} %m%n"
} }
} }
} }
appender("STDOUT-ASYNC", AsyncAppender) { appender("STDOUT-ASYNC", AsyncAppender) {
appenderRef('STDOUT') appenderRef('STDOUT')
} }
 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)