annotate src/goodjava/logger/ConsoleAppender.java @ 1733:8b3ad1fb219f
make LogHandler configurable
author |
Franklin Schmidt <fschmidt@gmail.com> |
date |
Wed, 14 Sep 2022 07:51:13 -0600 |
parents |
6fc083e1d08c |
children |
|
rev |
line source |
1448
|
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 }
|