1448
|
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 }
|