comparison src/goodjava/logger/LoggingEvent.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
4 public final class LoggingEvent {
5 public final GoodLogger logger;
6 public final int level;
7 public final String message;
8 public final Throwable throwable;
9 public final long time = System.currentTimeMillis();
10
11 LoggingEvent(GoodLogger logger,int level,String message,Throwable throwable) {
12 this.logger = logger;
13 this.level = level;
14 this.message = message;
15 this.throwable = throwable;
16 }
17 }