view src/goodjava/logger/LoggingEvent.java @ 1567:349eef23a13c

lucene named backup
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 14 Nov 2020 20:05:07 -0700
parents 6fc083e1d08c
children
line wrap: on
line source

package goodjava.logger;


public final class LoggingEvent {
	public final GoodLogger logger;
	public final int level;
	public final String message;
	public final Throwable throwable;
	public final long time = System.currentTimeMillis();

	LoggingEvent(GoodLogger logger,int level,String message,Throwable throwable) {
		this.logger = logger;
		this.level = level;
		this.message = message;
		this.throwable = throwable;
	}
}