Update docs with details on colors
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!---
|
||||
Copyright (C) 2016 Ronald Jack Jenkins Jr.
|
||||
Copyright (C) 2016-2017 Ronald Jack Jenkins Jr.
|
||||
|
||||
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
|
||||
@@ -42,3 +42,4 @@ If you wish to use [SLF4J](http://slf4j.org) in your Bukkit plugin, or if your p
|
||||
+ SLF4Bukkit issues `ChatColor.RESET` after every log message, so you don't have to worry about resetting after each message.
|
||||
+ You can use the [ColorString](${project.url}/apidocs/info/ronjenkins/slf4bukkit/ColorString.html) class to easily create colored log messages.
|
||||
+ For a consistent user experience, it's recommended that you perform all logging via SLF4Bukkit and not use `Plugin.getLogger()`.
|
||||
+ Any color-related features are silently stripped/ignored when SLF4Bukkit runs on a Bukkit implementation where JAnsi is not available (e.g. PaperSpigot).
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Copyright (C) 2016 Ronald Jack Jenkins Jr.
|
||||
## Copyright (C) 2016-2017 Ronald Jack Jenkins Jr.
|
||||
##
|
||||
## 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
|
||||
@@ -41,3 +41,4 @@ If you wish to use [SLF4J](http://slf4j.org) in your Bukkit plugin, or if your p
|
||||
+ SLF4Bukkit issues `ChatColor.RESET` after every log message, so you don't have to worry about resetting after each message.
|
||||
+ You can use the [ColorString](apidocs/info/ronjenkins/slf4bukkit/ColorString.html) class to easily create colored log messages.
|
||||
+ For a consistent user experience, it's recommended that you perform all logging via SLF4Bukkit and not use `Plugin.getLogger()`.
|
||||
+ Any color-related features are silently stripped/ignored when SLF4Bukkit runs on a Bukkit implementation where JAnsi is not available (e.g. PaperSpigot).
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Copyright (C) 2016 Ronald Jack Jenkins Jr.
|
||||
## Copyright (C) 2016-2017 Ronald Jack Jenkins Jr.
|
||||
##
|
||||
## 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
|
||||
@@ -106,6 +106,10 @@ slf4j:
|
||||
# YELLOW
|
||||
# WHITE
|
||||
# NONE (default console color)
|
||||
#
|
||||
# If you are running this plugin on a Bukkit implementation that does not
|
||||
# include the JAnsi library (e.g. PaperSpigot), none of these configuration
|
||||
# values will be honored and all log output will have no colors.
|
||||
colors:
|
||||
error: RED
|
||||
warn: YELLOW
|
||||
|
||||
Reference in New Issue
Block a user