![JAR search and dependency download from the Maven repository](/logo.png)
io.nextop.log.NL Maven / Gradle / Ivy
package io.nextop.log;
import rx.schedulers.Schedulers;
import java.util.EnumSet;
/** global log inversion of control.
* All parts of the system that need to log should use this.
* Implementations should set {@link #nl} to the correct logger. */
public final class NL {
// FIXME perf
// FIXME each platform has its own logging system to hook into
public static Log nl = new AggregatorLog(Outs.mask(Outs.sysout(),
EnumSet.complementOf(EnumSet.of(LogEntry.Type.MESSAGE)),
EnumSet.noneOf(LogEntry.Type.class)), Schedulers.computation());
private NL() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy