Mercurial Hosting > luan
annotate src/goodjava/logger/LoggingEvent.java @ 1598:c78d6a4e2d9a
web logging
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 04 Apr 2021 15:09:51 -0600 |
parents | 6fc083e1d08c |
children |
rev | line source |
---|---|
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 } |