Add LogConsumer (?)
parent
f51f74b2fc
commit
0222dd2dca
@ -0,0 +1,12 @@
|
|||||||
|
package net.brokenmoon.redcontrol.api;
|
||||||
|
|
||||||
|
import net.brokenmoon.redcontrol.RedControl;
|
||||||
|
|
||||||
|
import java.util.function.IntConsumer;
|
||||||
|
|
||||||
|
public class LogConsumer implements IntConsumer {
|
||||||
|
@Override
|
||||||
|
public void accept(int value) {
|
||||||
|
RedControl.LOGGER.info("Cpu MMU Logger: " + value);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue