@Test public void logResErrTest() { LogResult lr1 = LogResult.error(null); LogResult lr2 = LogResult.error(null,L); LogResult lr3 = LogResult.error(null,LogResultTest.class); LogResult lr4 = LogResult.error(null,LogResultTest.class.getName()); assertNotNull(lr1); assertNotNull(lr2); assertNotNull(lr3); assertNotNull(lr4); }
public static <K,E> LogResult<K,E> error(Conveyor<K, ?, E> conveyor) { return new LogResult<>(Conveyor.LOG,Level.ERROR); }
LogResult implements ResultConsumer<K,E> { public static <K,E> LogResult<K,E> error(Conveyor<K, ?, E> conveyor) { return new LogResult<>(Conveyor.LOG,Level.ERROR); } }
LogResult implements ResultConsumer<K,E> { public static <K,E> LogResult<K,E> error(Conveyor<K, ?, E> conveyor) { return new LogResult<>(Conveyor.LOG,Level.ERROR); } LogResult();  LogResult(Logger log, Level level); }
LogResult implements ResultConsumer<K,E> { public static <K,E> LogResult<K,E> error(Conveyor<K, ?, E> conveyor) { return new LogResult<>(Conveyor.LOG,Level.ERROR); } LogResult();  LogResult(Logger log, Level level); @Override void accept(ProductBin<K, E> t); static LogResult<K,E> trace(Conveyor<K, ?, E> conveyor); static LogResult<K,E> trace(Conveyor<K, ?, E> conveyor,Logger logger); static LogResult<K,E> trace(Conveyor<K, ?, E> conveyor,String logger); static LogResult<K,E> trace(Conveyor<K, ?, E> conveyor,Class<?> logger); static LogResult<K,E> debug(Conveyor<K, ?, E> conveyor); static LogResult<K,E> debug(Conveyor<K, ?, E> conveyor,Logger logger); static LogResult<K,E> debug(Conveyor<K, ?, E> conveyor,String logger); static LogResult<K,E> debug(Conveyor<K, ?, E> conveyor,Class<?> logger); static LogResult<K,E> info(Conveyor<K, ?, E> conveyor); static LogResult<K,E> info(Conveyor<K, ?, E> conveyor,Logger logger); static LogResult<K,E> info(Conveyor<K, ?, E> conveyor,String logger); static LogResult<K,E> info(Conveyor<K, ?, E> conveyor,Class<?> logger); static LogResult<K,E> warn(Conveyor<K, ?, E> conveyor); static LogResult<K,E> warn(Conveyor<K, ?, E> conveyor,Logger logger); static LogResult<K,E> warn(Conveyor<K, ?, E> conveyor,String logger); static LogResult<K,E> warn(Conveyor<K, ?, E> conveyor,Class<?> logger); static LogResult<K,E> error(Conveyor<K, ?, E> conveyor); static LogResult<K,E> error(Conveyor<K, ?, E> conveyor,Logger logger); static LogResult<K,E> error(Conveyor<K, ?, E> conveyor,String logger); static LogResult<K,E> error(Conveyor<K, ?, E> conveyor,Class<?> logger); static LogResult<K,E> stdOut(Conveyor<K, ?, E> conveyor); static LogResult<K,E> stdErr(Conveyor<K, ?, E> conveyor); }
LogResult implements ResultConsumer<K,E> { public static <K,E> LogResult<K,E> error(Conveyor<K, ?, E> conveyor) { return new LogResult<>(Conveyor.LOG,Level.ERROR); } LogResult();  LogResult(Logger log, Level level); @Override void accept(ProductBin<K, E> t); static LogResult<K,E> trace(Conveyor<K, ?, E> conveyor); static LogResult<K,E> trace(Conveyor<K, ?, E> conveyor,Logger logger); static LogResult<K,E> trace(Conveyor<K, ?, E> conveyor,String logger); static LogResult<K,E> trace(Conveyor<K, ?, E> conveyor,Class<?> logger); static LogResult<K,E> debug(Conveyor<K, ?, E> conveyor); static LogResult<K,E> debug(Conveyor<K, ?, E> conveyor,Logger logger); static LogResult<K,E> debug(Conveyor<K, ?, E> conveyor,String logger); static LogResult<K,E> debug(Conveyor<K, ?, E> conveyor,Class<?> logger); static LogResult<K,E> info(Conveyor<K, ?, E> conveyor); static LogResult<K,E> info(Conveyor<K, ?, E> conveyor,Logger logger); static LogResult<K,E> info(Conveyor<K, ?, E> conveyor,String logger); static LogResult<K,E> info(Conveyor<K, ?, E> conveyor,Class<?> logger); static LogResult<K,E> warn(Conveyor<K, ?, E> conveyor); static LogResult<K,E> warn(Conveyor<K, ?, E> conveyor,Logger logger); static LogResult<K,E> warn(Conveyor<K, ?, E> conveyor,String logger); static LogResult<K,E> warn(Conveyor<K, ?, E> conveyor,Class<?> logger); static LogResult<K,E> error(Conveyor<K, ?, E> conveyor); static LogResult<K,E> error(Conveyor<K, ?, E> conveyor,Logger logger); static LogResult<K,E> error(Conveyor<K, ?, E> conveyor,String logger); static LogResult<K,E> error(Conveyor<K, ?, E> conveyor,Class<?> logger); static LogResult<K,E> stdOut(Conveyor<K, ?, E> conveyor); static LogResult<K,E> stdErr(Conveyor<K, ?, E> conveyor);  }