Ronald Jack Jenkins Jr
16defaf9d1
Add more color comments
2017-08-08 20:57:01 -04:00
Ronald Jack Jenkins Jr
3ed1c8c5f8
Make ColorMapperFactory uninstantiable
2017-08-08 20:50:19 -04:00
Ronald Jack Jenkins Jr
07986618ee
Remove useless TODOs
2017-08-08 20:20:53 -04:00
Ronald Jack Jenkins Jr
ebcf0b6132
Improve comments/strip ChatColors
2017-08-08 20:06:17 -04:00
TheE
fd336c1ce0
Replace comment with javadoc
2017-08-02 00:45:46 +02: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
e7fce98b1a
Make ColorString API chainable
2016-04-02 00:38:18 -04:00
rjenkinsjr
6ea4493918
Rename Bukkit* classes
2016-04-02 00:00:42 -04:00
rjenkinsjr
06aafbc1d4
Add ColorString utility class
2016-04-01 23:58:55 -04:00
rjenkinsjr
d3fdd812b9
Add "slf4j.colors.*" config section
2016-04-01 23:26:56 -04:00
rjenkinsjr
11996d92fd
Add support for Bukkit formatting markers
2016-03-31 23:16:47 -04:00
rjenkinsjr
2a24764d65
Collapse level computation methods
2016-03-31 21:50:19 -04:00
rjenkinsjr
c873918f5a
Improve Javadocs
2016-03-31 21:46:54 -04:00
rjenkinsjr
bb52469817
Eliminate ISE in slf4jLevelIntToBukkitJULLevel
2016-03-31 21:35:17 -04:00
rjenkinsjr
b1b3c65f4f
Add support for colors in log messages
2016-03-31 21:26:32 -04:00
rjenkinsjr
fccd94bce8
Use {@code} Javadoc syntax
2016-03-31 20:31:48 -04:00
rjenkinsjr
d871567f6a
Bug: "[SLF4J]" header was not in brackets
2016-03-31 20:00:36 -04:00
rjenkinsjr
d28175f7e3
Document that the thread name is in brackets
2016-03-31 19:58:55 -04:00
rjenkinsjr
cc06b83c11
showLogName overrides showShortLogName
2016-03-31 19:55:32 -04:00
rjenkinsjr
a861371a94
Tolerate invalid config values with defaults
2016-03-30 22:19:58 -04:00
rjenkinsjr
bc242696db
Code formatting
2016-03-29 22:14:45 -04:00
rjenkinsjr
626c73fe92
Fix SimpleLogger reference in Javadoc
2016-03-29 22:10:17 -04:00
rjenkinsjr
62f1457678
Initial Maven site implementation
2016-03-28 23:35:47 -04:00
rjenkinsjr
72481f2a1a
Improve handling of logging levels
2016-03-28 23:34:16 -04:00
rjenkinsjr
e1eced5198
Drop LocationAwareLogger, as it is unnecessary
2016-03-28 20:48:42 -04:00
rjenkinsjr
ac1ff26365
Improve Javadocs and initialization routine
2016-03-28 19:58:32 -04:00
rjenkinsjr
f2a64e44eb
Fix synchronization and improve log output format
2016-03-28 18:58:42 -04:00
rjenkinsjr
30b9978d6d
Added support for static logger initialization
...
If the plugin is not ready or otherwise cannot be found, the Bukkit server
logger is used instead
2016-03-28 18:24:17 -04:00
rjenkinsjr
aaee2297aa
Finish integration with Bukkit
...
Merged SimpleLogger and JDK14LoggerAdapter, tossing out irrelevant
functionality and routing TRACE/DEBUG to Bukkit's INFO level.
2016-03-28 15:00:23 -04:00
rjenkinsjr
70017cd881
Rearrange file headers and remove some (C) claims
2016-03-28 12:16:43 -04:00
rjenkinsjr
9a53af4c50
Fix JDK14 -> BukkitPlugin comments
2016-03-28 00:24:21 -04:00
rjenkinsjr
828a9e7947
Print stack trace on plugin.yml stream close fail
2016-03-28 00:18:37 -04:00
rjenkinsjr
f7f4511a41
Initial commit
...
Based on slf4j-jdk14 version 1.7.19.
2016-03-28 00:12:57 -04:00