All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mentalog.AsyncThread Maven / Gradle / Ivy

There is a newer version: 2.1.2
Show newest version
package org.mentalog;


public class AsyncThread {

	private final static void throwException() {
		throw new IllegalStateException("Asynchronous logging is not supported. Check http://mentalog.soliveirajr.com for details on how to activate it.");
	}
	
	public static void start() {
		throwException();
	}
	
	public final static LogEvent getLogEvent(Logger logger) {
		throwException();
		return null;
	}
	
	public final static void offer(LogEvent logEvent) {
		throwException();
	}
	
	public final static void logLater(Logger logger, Object ... objs) {
		throwException();
	}
	
	public static void setPriority(int x) {
		throwException();
	}
	
	public static void setCapacity(int x) {
		throwException();
	}
	
	public static void drainAndStop() {
		throwException();
	}
	
	public static void kill() {
		throwException();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy