ARTEMIS-598 fix native logger code

This commit is contained in:
jbertram 2016-07-01 15:14:15 -05:00
parent f680e7a02a
commit 2a144bc4ee
1 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ import org.jboss.logging.annotations.MessageLogger;
/** /**
* Logger Code 14 * Logger Code 14
* *
* each message id must be 6 digits long starting with 14, the 3rd digit donates the level so * each message id must be 6 digits long starting with 14, the 3rd digit denotes the level so
* *
* INF0 1 * INF0 1
* WARN 2 * WARN 2
@ -34,7 +34,7 @@ import org.jboss.logging.annotations.MessageLogger;
* TRACE 5 * TRACE 5
* FATAL 6 * FATAL 6
* *
* so an INFO message would be 1000 to 6000 * so an INFO message would be 141000 to 141999
*/ */
@MessageLogger(projectCode = "jlibaio") @MessageLogger(projectCode = "jlibaio")
public interface NativeLogger extends BasicLogger { public interface NativeLogger extends BasicLogger {
@ -45,6 +45,6 @@ public interface NativeLogger extends BasicLogger {
NativeLogger LOGGER = Logger.getMessageLogger(NativeLogger.class, NativeLogger.class.getPackage().getName()); NativeLogger LOGGER = Logger.getMessageLogger(NativeLogger.class, NativeLogger.class.getPackage().getName());
@LogMessage(level = Logger.Level.WARN) @LogMessage(level = Logger.Level.WARN)
@Message(id = 1001, value = "You have a native library with a different version than expected", format = Message.Format.MESSAGE_FORMAT) @Message(id = 143001, value = "You have a native library with a different version than expected", format = Message.Format.MESSAGE_FORMAT)
void incompatibleNativeLibrary(); void incompatibleNativeLibrary();
} }