0

Improve comments/strip ChatColors

This commit is contained in:
Ronald Jack Jenkins Jr
2017-08-08 20:06:17 -04:00
parent a16b336404
commit ebcf0b6132
6 changed files with 73 additions and 26 deletions

View File

@@ -4,7 +4,7 @@
*/
/*
* Portions of this file are
* Copyright (C) 2016 Ronald Jack Jenkins Jr.
* Copyright (C) 2016-2017 Ronald Jack Jenkins Jr., SLF4Bukkit contributors.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -181,6 +181,14 @@ import com.google.common.collect.ImmutableMap;
* of markers does not affect whether or not a given logging level is enabled.
* </p>
*
* <p>
* When executed on a Bukkit implementation that does not contain the JAnsi
* library (e.g. PaperSpigot), all color-related functionality is silently
* ignored. Any messages logged in such an environment by SLF4Bukkit will have
* any {@link ChatColor} values stripped. SLF4Bukkit does not emit any warnings
* when executed in an environment where JAnsi is not available.
* </p>
*
* @author Ceki G&uuml;lc&uuml;
* @author <a href="mailto:sanders@apache.org">Scott Sanders</a>
* @author Rod Waldhoff