Committing release 0.1.2
This commit is contained in:
14
README.md
14
README.md
@@ -16,23 +16,27 @@
|
|||||||
-->
|
-->
|
||||||
SLF4Bukkit
|
SLF4Bukkit
|
||||||
===
|
===
|
||||||
SLF4J binding that uses Bukkit's plugin logging system.
|
SLF4Bukkit is an SLF4J binding that uses Bukkit's plugin logging system.
|
||||||
---
|
|
||||||
### Server Owners
|
### Server Administrators
|
||||||
If you were linked here by documentation for a plugin that you're using on your Bukkit/Spigot server, [go here](http://rjenkinsjr.github.io/slf4bukkit) to learn what configuration options you have available (and please ask the plugin developer to fix their links!).
|
If you were linked here by documentation for a plugin that you're using on your Bukkit/Spigot server, [go here](http://rjenkinsjr.github.io/slf4bukkit) to learn what configuration options you have available (and please ask the plugin developer to fix their links!).
|
||||||
|
|
||||||
### Plugin Developers
|
### Plugin Developers
|
||||||
If you wish to use [SLF4J](http://slf4j.org) in your Bukkit plugin, or if your plugin has a dependency on a library that uses SLF4J:
|
If you wish to use [SLF4J](http://slf4j.org) in your Bukkit plugin, or if your plugin has a dependency on a library that uses SLF4J:
|
||||||
|
|
||||||
|
+ Reference the [rjenkinsjr Maven2 Repository](https://github.com/rjenkinsjr/maven2) in your POM.
|
||||||
+ [Shade](https://maven.apache.org/plugins/maven-shade-plugin/usage.html) SLF4Bukkit into your plugin project:
|
+ [Shade](https://maven.apache.org/plugins/maven-shade-plugin/usage.html) SLF4Bukkit into your plugin project:
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>info.ronjenkins</groupId>
|
<groupId>info.ronjenkins</groupId>
|
||||||
<artifactId>slf4bukkit</artifactId>
|
<artifactId>slf4bukkit</artifactId>
|
||||||
<version>0.1.1</version>
|
<version>0.1.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
+ (Optional) Add your desired default configuration values to your plugin's built-in [config.yml](http://rjenkinsjr.github.io/slf4bukkit) file. For more details, see the Javadocs for the [BukkitPluginLoggerAdapter](http://rjenkinsjr.github.io/slf4bukkit/apidocs/org/slf4j/impl/BukkitPluginLoggerAdapter.html) class.
|
+ (Optional) Add your desired default configuration values to your plugin's built-in [config.yml](http://rjenkinsjr.github.io/slf4bukkit) file. For more details, see the Javadocs for the [BukkitPluginLoggerAdapter](http://rjenkinsjr.github.io/slf4bukkit/apidocs/org/slf4j/impl/BukkitPluginLoggerAdapter.html) class.
|
||||||
+ (Optional) Use the [SLF4J API](http://www.slf4j.org/api/org/slf4j/Logger.html) in your code. Note that SLF4Bukkit does not support markers.
|
+ (Optional) Use the [SLF4J API](http://www.slf4j.org/api/org/slf4j/Logger.html) in your code.
|
||||||
|
+ SLF4Bukkit supports only [Bukkit formatting markers](http://rjenkinsjr.github.io/slf4bukkit/apidocs/info/ronjenkins/slf4bukkit/BukkitColorMarker.html), which format the entire message and associated throwable (if any). All other markers are discarded.
|
||||||
|
+ In addition to using the Bukkit formatting markers, you can use Bukkit's `ChatColor` values to further format your message.
|
||||||
|
+ SLF4Bukkit issues `ChatColor.RESET` after every log message, so you don't have to worry about resetting after each message.
|
||||||
|
|||||||
6
pom.xml
6
pom.xml
@@ -15,12 +15,11 @@
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses />.
|
along with this program. If not, see <http://www.gnu.org/licenses />.
|
||||||
-->
|
-->
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>info.ronjenkins</groupId>
|
<groupId>info.ronjenkins</groupId>
|
||||||
<artifactId>slf4bukkit</artifactId>
|
<artifactId>slf4bukkit</artifactId>
|
||||||
<version>0.1.2-SNAPSHOT</version>
|
<version>0.1.2</version>
|
||||||
<name>SLF4Bukkit</name>
|
<name>SLF4Bukkit</name>
|
||||||
<description>${project.name} is an SLF4J binding that uses Bukkit's plugin logging system.</description>
|
<description>${project.name} is an SLF4J binding that uses Bukkit's plugin logging system.</description>
|
||||||
<url>http://rjenkinsjr.github.io/slf4bukkit</url>
|
<url>http://rjenkinsjr.github.io/slf4bukkit</url>
|
||||||
@@ -42,6 +41,7 @@
|
|||||||
<connection>scm:git:git://github.com/rjenkinsjr/slf4bukkit.git</connection>
|
<connection>scm:git:git://github.com/rjenkinsjr/slf4bukkit.git</connection>
|
||||||
<developerConnection>scm:git:git@github.com:rjenkinsjr/slf4bukkit.git</developerConnection>
|
<developerConnection>scm:git:git@github.com:rjenkinsjr/slf4bukkit.git</developerConnection>
|
||||||
<url>https://github.com/rjenkinsjr/slf4bukkit</url>
|
<url>https://github.com/rjenkinsjr/slf4bukkit</url>
|
||||||
|
<tag>0.1.2</tag>
|
||||||
</scm>
|
</scm>
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
|
|||||||
Reference in New Issue
Block a user