Mercurial Hosting > luan
view src/goodjava/logger/ConsoleAppender.java @ 1449:dd14d2dce7ee
add appenders
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 28 Feb 2020 21:14:23 -0700 |
parents | 6fc083e1d08c |
children |
line wrap: on
line source
package goodjava.logger; import java.io.PrintStream; import java.io.OutputStreamWriter; public final class ConsoleAppender extends WriterAppender { public ConsoleAppender(Layout layout,PrintStream ps) { super( layout, new OutputStreamWriter(ps) ); } public void close() {} }