ARTEMIS-598 fix native logger code
This commit is contained in:
parent
f680e7a02a
commit
2a144bc4ee
|
@ -25,7 +25,7 @@ import org.jboss.logging.annotations.MessageLogger;
|
|||
/**
|
||||
* 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
|
||||
* WARN 2
|
||||
|
@ -34,7 +34,7 @@ import org.jboss.logging.annotations.MessageLogger;
|
|||
* TRACE 5
|
||||
* FATAL 6
|
||||
*
|
||||
* so an INFO message would be 1000 to 6000
|
||||
* so an INFO message would be 141000 to 141999
|
||||
*/
|
||||
@MessageLogger(projectCode = "jlibaio")
|
||||
public interface NativeLogger extends BasicLogger {
|
||||
|
@ -45,6 +45,6 @@ public interface NativeLogger extends BasicLogger {
|
|||
NativeLogger LOGGER = Logger.getMessageLogger(NativeLogger.class, NativeLogger.class.getPackage().getName());
|
||||
|
||||
@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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue