本文整理汇总了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);
开发者ID:windup,项目名称:windup-rulesets,代码行数:4,代码来源:MyLogger.java
示例2: warnUnableToCloseDbIterator
import org.jboss.logging.LogMessage; //导入依赖的package包/类
@LogMessage(level = WARN)
@Message(value = "unable to close iterator", id = 23001)
void warnUnableToCloseDbIterator(@Cause Throwable throwable);
开发者ID:danberindei,项目名称:infinispan-cachestore-leveldb,代码行数:4,代码来源:Log.java
示例3: warnUnableToCloseDb
import org.jboss.logging.LogMessage; //导入依赖的package包/类
@LogMessage(level = WARN)
@Message(value = "unable to close db", id = 23002)
void warnUnableToCloseDb(@Cause Throwable throwable);
开发者ID:danberindei,项目名称:infinispan-cachestore-leveldb,代码行数:4,代码来源:Log.java
示例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);
开发者ID:danberindei,项目名称:infinispan-cachestore-leveldb,代码行数:4,代码来源:Log.java
示例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);
开发者ID:danberindei,项目名称:infinispan-cachestore-leveldb,代码行数:4,代码来源:Log.java
示例6: infoUsingJNIDbFactory
import org.jboss.logging.LogMessage; //导入依赖的package包/类
@LogMessage(level = INFO)
@Message(value = "Using JNI LevelDB implementation: %s", id = 23005)
void infoUsingJNIDbFactory(String className);
开发者ID:danberindei,项目名称:infinispan-cachestore-leveldb,代码行数:4,代码来源:Log.java
示例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);
开发者ID:danberindei,项目名称:infinispan-cachestore-leveldb,代码行数:4,代码来源:Log.java
示例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);
开发者ID:red-fox-mulder,项目名称:eap-6.1-quickstarts,代码行数:4,代码来源:DateLogger.java
示例9: logDaysUntilRequest
import org.jboss.logging.LogMessage; //导入依赖的package包/类
@LogMessage
@Message(id = 4, value = "Requested number of days until '%s'")
void logDaysUntilRequest(String dateString);
开发者ID:red-fox-mulder,项目名称:eap-6.1-quickstarts,代码行数:4,代码来源:DateLogger.java
示例10: logHelloMessageSent
import org.jboss.logging.LogMessage; //导入依赖的package包/类
@LogMessage
@Message(id = 1, value = "Hello message sent.")
void logHelloMessageSent();
开发者ID:red-fox-mulder,项目名称:eap-6.1-quickstarts,代码行数:4,代码来源:GreeterLogger.java
示例11: logHelloMessageSentForLocale
import org.jboss.logging.LogMessage; //导入依赖的package包/类
@LogMessage
@Message(id = 2, value = "Hello message sent for locale: %s.")
void logHelloMessageSentForLocale(String locale);
开发者ID:red-fox-mulder,项目名称:eap-6.1-quickstarts,代码行数:4,代码来源:GreeterLogger.java
示例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);
开发者ID:infinispan,项目名称:infinispan-cachestore-hbase,代码行数:4,代码来源:Log.java
示例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);
开发者ID:mp911de,项目名称:logstash-gelf-subsystem,代码行数:10,代码来源:LogstashGelfExtensionLogger.java
示例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);
开发者ID:mp911de,项目名称:logstash-gelf-subsystem,代码行数:10,代码来源:LogstashGelfExtensionLogger.java
示例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);
开发者ID:mp911de,项目名称:logstash-gelf-subsystem,代码行数:10,代码来源:LogstashGelfExtensionLogger.java
注:本文中的org.jboss.logging.LogMessage类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论