aboutsummaryrefslogtreecommitdiff

Logging Jitpack

a simple logging utility. use like the following:

Logger logger = Logger.getLogger(); // with current classname as loggername
// or
Logger logger = Logger.getLogger("logger-name");

and actually log with:

logger.log("Log string");
logger.logf("%s %d", "String formatting is", 1337)

You can even use it in other loggers if they support PrintStreams or set it as default System.out:

System.setOut(logger.getAsPrintStream());

Installation

Install via Jitpack