The Java logger library let you can take a full control.
from Sukazyo Workshop.
The goal of messiva is make a library that you can not only do logging but do CLI output even input with it.
This project is in a very early stage. (Maybe I don't have to many efforts to develop it currently, so it will be in a very early stage for a long time -- if there's no any one's help, I may only make the part I need to use.)
Download it from the releases
or import it from Sukazyo Workshop MVN Packager:
repositories {
maven { name "-ws", url "https://mvn.sukazyo.cc/releases" }
}
dependencies {
implementation "cc.sukazyo:messiva:0.2.0"
}
Set up your own logger:
import cc.sukazyo.messiva.logger.Logger;
import cc.sukazyo.messiva.appender.impl.ConsoleAppender;
import cc.sukazyo.messiva.formatter.SimpleFormatter;
// currently only implementation within messiva
class MyLogger {
public Logger myLogger = new Logger(new ConsoleAppender(new SimpleFormatter()));
}
Or you can freely extends and implements the interfaces or Logger class to customizing make your own logger.
- SpotBugs by Github, provided the null-safety Java programming experience.