1
0
mirror of https://github.com/suk-ws/messiva.git synced 2024-11-22 16:44:50 +08:00
A simple but complex java information io api and implementation.
Go to file
2023-10-15 19:23:27 +08:00
gradle/wrapper add Formatter struct; add support for LevelRestrict; fix some problems. 2023-04-08 12:06:36 +08:00
src/main/java/cc/sukazyo/messiva add separator for message in SimpleFormatter, well-define null-define annotation. 2023-10-15 18:21:50 +08:00
.gitattributes initialize gradle project 2021-12-10 23:38:16 +08:00
.gitignore add Formatter struct; add support for LevelRestrict; fix some problems. 2023-04-08 12:06:36 +08:00
build.gradle add README 2023-10-15 19:23:27 +08:00
gradle.properties add ILogLevel as new LogLevel abstract, better Logger 2023-10-15 12:40:47 +08:00
gradlew initialize gradle project 2021-12-10 23:38:16 +08:00
gradlew.bat initialize gradle project 2021-12-10 23:38:16 +08:00
README.md add README 2023-10-15 19:23:27 +08:00
settings.gradle initialize gradle project 2021-12-10 23:38:16 +08:00

messiva

GitHub release (with filter) Maven metadata URL Static Badge

The Java logger library let you can take a full control.

from Sukazyo Workshop.

Goal (and the situation currently)

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.)

How 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.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.

Library Used

  • SpotBugs by Github, provided the null-safety Java programming experience.