org.mentalog.AsyncThread Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of menta-log Show documentation
Show all versions of menta-log Show documentation
A log library that embraces the kiss principle.
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();
}
}