Add more color comments
This commit is contained in:
@@ -26,6 +26,11 @@ import org.slf4j.Marker;
|
|||||||
* SLF4J markers that map to a subset of {@link ChatColor}s. These markers never
|
* SLF4J markers that map to a subset of {@link ChatColor}s. These markers never
|
||||||
* contain any references (other markers).
|
* contain any references (other markers).
|
||||||
*
|
*
|
||||||
|
* <p>
|
||||||
|
* This class does not depend on JAnsi, so it is safe to use even in
|
||||||
|
* environments where JAnsi is not available (e.g. PaperSpigot).
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
* @author Ronald Jack Jenkins Jr.
|
* @author Ronald Jack Jenkins Jr.
|
||||||
*/
|
*/
|
||||||
public enum ColorMarker implements Marker {
|
public enum ColorMarker implements Marker {
|
||||||
|
|||||||
@@ -22,6 +22,13 @@ package info.ronjenkins.slf4bukkit;
|
|||||||
* current value and then continue adding content to this object. This class is
|
* current value and then continue adding content to this object. This class is
|
||||||
* thread-safe.
|
* thread-safe.
|
||||||
*
|
*
|
||||||
|
* <p>
|
||||||
|
* Plugins can use this class even if they will be executed in environments
|
||||||
|
* where JAnsi is not available (e.g. PaperSpigot) because all colors are
|
||||||
|
* stripped when the message is logged. This class does not depend on JAnsi,
|
||||||
|
* so it is safe to use in such environments.
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
* @author Ronald Jack Jenkins Jr.
|
* @author Ronald Jack Jenkins Jr.
|
||||||
*/
|
*/
|
||||||
public final class ColorString {
|
public final class ColorString {
|
||||||
|
|||||||
Reference in New Issue
Block a user