Mercurial Hosting > luan
comparison src/goodjava/logger/ConsoleAppender.java @ 1448:6fc083e1d08c
start logger
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 23 Feb 2020 18:14:32 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1447:851b9a48cc44 | 1448:6fc083e1d08c |
---|---|
1 package goodjava.logger; | |
2 | |
3 import java.io.PrintStream; | |
4 import java.io.OutputStreamWriter; | |
5 | |
6 | |
7 public final class ConsoleAppender extends WriterAppender { | |
8 | |
9 public ConsoleAppender(Layout layout,PrintStream ps) { | |
10 super( layout, new OutputStreamWriter(ps) ); | |
11 } | |
12 | |
13 public void close() {} | |
14 } |