1
0
mirror of https://github.com/suk-ws/messiva.git synced 2024-11-25 02:17:37 +08:00
Commit Graph

5 Commits

Author SHA1 Message Date
d65ea6e7bd
add new Appender and Message API
- deprecated old Message, add new IMessage API.
- deprecated old Logger.appends, uses new AppenderProvider API to provide Appenders to Logger.
- add a context on Log.
- deprecated field read on Log, use method to read those.
- add name on Logger.
- add codepoint output for SimpleFormatter.
2024-07-27 11:05:23 +08:00
f4697a45c0
add ILogLevel as new LogLevel abstract, better Logger
- add ILogLevel as new LogLevel abstract
  - all reference to LogLevel have been changed to reference ILogLevel
- add (Message) parameter set to ILogLevelImpl and Logger
- add (String, ILogLevel) and (Message, ILogLevel) to Logger
2023-10-15 12:40:47 +08:00
ab95aa71d7
add Formatter struct; add support for LevelRestrict; fix some problems.
- upgrade gradle wrapper 7.3.1 -> 8.0.2

- add Formatter struct that will format Log object to String message.
  - now supports SimpleFormatter. which is old ConsoleAppender formatting method.
- add Appender abs-class.
- add support for LevelRestrict.
  - available on Appender and Logger.
- fix wrong LogLevel.All level number (which should be smallest).
- add LogLevel.ALL and LogLevel.NONE as smallest and biggest level.
- add warning as an alias of warn in ILogLevelImpl.
-
2023-04-08 12:06:36 +08:00
31ccf14941
补充意外缺少的 LogLevel.DEBUG 2021-12-13 22:57:49 +08:00
4728636f63
initialize gradle project 2021-12-10 23:38:16 +08:00