本文整理汇总了Java中org.jboss.logging.LogMessage类的典型用法代码示例。如果您正苦于以下问题:Java LogMessage类的具体用法?Java LogMessage怎么用?Java LogMessage使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LogMessage类属于org.jboss.logging包,在下文中一共展示了LogMessage类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: foobar
import org.jboss.logging.LogMessage; //导入依赖的package包/类
@LogMessage(level = FATAL)
@Message(id = 1, value = "Foo bar!")
void foobar(@Cause Throwable t);
示例2: warnUnableToCloseDbIterator
import org.jboss.logging.LogMessage; //导入依赖的package包/类
@LogMessage(level = WARN)
@Message(value = "unable to close iterator", id = 23001)
void warnUnableToCloseDbIterator(@Cause Throwable throwable);
示例3: warnUnableToCloseDb
import org.jboss.logging.LogMessage; //导入依赖的package包/类
@LogMessage(level = WARN)
@Message(value = "unable to close db", id = 23002)
void warnUnableToCloseDb(@Cause Throwable throwable);
示例4: warnUnableToCloseExpiredDb
import org.jboss.logging.LogMessage; //导入依赖的package包/类
@LogMessage(level = WARN)
@Message(value = "unable to close expired db", id = 23003)
void warnUnableToCloseExpiredDb(@Cause Throwable throwable);
示例5: debugUnableToInstantiateDbFactory
import org.jboss.logging.LogMessage; //导入依赖的package包/类
@LogMessage(level = DEBUG)
@Message(value = "unable to instantiate DB Factory: %s", id = 23004)
void debugUnableToInstantiateDbFactory(String className, @Cause Throwable throwable);
示例6: infoUsingJNIDbFactory
import org.jboss.logging.LogMessage; //导入依赖的package包/类
@LogMessage(level = INFO)
@Message(value = "Using JNI LevelDB implementation: %s", id = 23005)
void infoUsingJNIDbFactory(String className);
示例7: infoUsingJavaDbFactory
import org.jboss.logging.LogMessage; //导入依赖的package包/类
@LogMessage(level = INFO)
@Message(value = "Using pure Java LevelDB implementation: %s", id = 23006)
void infoUsingJavaDbFactory(String className);
示例8: logStringCouldntParseAsDate
import org.jboss.logging.LogMessage; //导入依赖的package包/类
@LogMessage(level = Level.ERROR)
@Message(id = 3, value = "Invalid date passed as string: %s")
void logStringCouldntParseAsDate(String datestring, @Cause ParseException exception);
示例9: logDaysUntilRequest
import org.jboss.logging.LogMessage; //导入依赖的package包/类
@LogMessage
@Message(id = 4, value = "Requested number of days until '%s'")
void logDaysUntilRequest(String dateString);
示例10: logHelloMessageSent
import org.jboss.logging.LogMessage; //导入依赖的package包/类
@LogMessage
@Message(id = 1, value = "Hello message sent.")
void logHelloMessageSent();
示例11: logHelloMessageSentForLocale
import org.jboss.logging.LogMessage; //导入依赖的package包/类
@LogMessage
@Message(id = 2, value = "Hello message sent for locale: %s.")
void logHelloMessageSentForLocale(String locale);
示例12: errorRemovingKey
import org.jboss.logging.LogMessage; //导入依赖的package包/类
@LogMessage(level = ERROR)
@Message(value = "Error removing key %s", id = 18001)
void errorRemovingKey(Object key, @Cause Exception e);
示例13: boundItem
import org.jboss.logging.LogMessage; //导入依赖的package包/类
/**
* Logs an info message indicating an item was bound into JNDI.
*
* @param item the item name.
* @param jndiName the JNDI name under which the session was bound.
*/
@LogMessage()
@Message(id = 1, value = "Bound %s session [%s]")
void boundItem(String item, String jndiName);
示例14: unboundItem
import org.jboss.logging.LogMessage; //导入依赖的package包/类
/**
* Logs an info message indicating an item was unbound from JNDI.
*
* @param item the item name.
* @param jndiName the JNDI name under which the session was bound.
*/
@LogMessage()
@Message(id = 2, value = "Unbound %s session [%s]")
void unboundItem(String item, String jndiName);
示例15: removedItem
import org.jboss.logging.LogMessage; //导入依赖的package包/类
/**
* Logs a debug message indicating an item was removed.
*
* @param item the item name.
* @param jndiName the JNDI name under which the session had been bound.
*/
@LogMessage()
@Message(id = 3, value = "Removed %s [%s]")
void removedItem(String item, String jndiName);