0
Commit Graph

7 Commits

Author SHA1 Message Date
Ronald Jack Jenkins Jr
ebcf0b6132 Improve comments/strip ChatColors 2017-08-08 20:06:17 -04:00
TheE
c88eab84a8 Only use ColorMapper if jAnsi is present, ignore it if not
This change allows slf4bukkit to run on Bukkit implementations without jansi by making ColorMapper an interface. Instances are created by using a ColorMappingFactory: If the Bukkit implementation bundles jAnsi, an AnsiColorMapper is returned that maps ChatColors to their ansi equivalents; if the Bukkit implementation does not bundle jAnsi, a NotSupportedColorMapper is returned that returns strings as is.
2017-07-31 16:43:19 +02:00
TheE
08dc4dbaa7 Revert "Only use ColorMapper if jansi is present, ignore it if not"
This reverts commit 50c1303034.
2017-07-31 16:17:07 +02:00
TheE
50c1303034 Only use ColorMapper if jansi is present, ignore it if not
This change allows slf4bukkit to run on Bukkit implementations without jansi by making ColorMapper optional: If it cannot be initialized, colors are not mapped. Instead this may (or may not) be done by the Bukkit implementation, that alos handles the logging system everything the output of slf4bukkit is to.
2017-07-15 00:28:56 +02:00
rjenkinsjr
826263d15a Fix Javadoc on slf4j.colors 2016-04-02 00:59:47 -04:00
rjenkinsjr
5f4717d6cc Code formatting 2016-04-02 00:38:33 -04:00
rjenkinsjr
6ea4493918 Rename Bukkit* classes 2016-04-02 00:00:42 -04:00