view src/goodjava/logger/LoggingEvent.java @ 1533:28f06ac6ce39

add not_in_transaction
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 02 Aug 2020 21:17:27 -0600 (2020-08-03)
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;
	}
}