Mercurial Hosting > luan
annotate src/goodjava/logger/LoggingEvent.java @ 1648:224af797b1f9
Mainly small install script improvements
- Consistent usage of `$LUANHOME`, removed reliance on current directory.
- Made Luan build and install fine (on Linux) without requiring launching it via sudo. Only asks to elevate privileges if installation failed.
- Minor spelling mistake fix.
author | Fox |
---|---|
date | Mon, 28 Mar 2022 18:00:12 +0200 |
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 } |