本文整理汇总了Java中org.jboss.logging.annotations.LogMessage类的典型用法代码示例。如果您正苦于以下问题:Java LogMessage类的具体用法?Java LogMessage怎么用?Java LogMessage使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
LogMessage类属于org.jboss.logging.annotations包,在下文中一共展示了LogMessage类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: applyingExplicitDiscriminatorColumnForJoined
import org.jboss.logging.annotations.LogMessage; //导入依赖的package包/类
@LogMessage(level = WARN)
@Message(
id = 457,
value = "Joined inheritance hierarchy [%1$s] defined explicit @DiscriminatorColumn. Legacy Hibernate behavior " +
"was to ignore the @DiscriminatorColumn. However, as part of issue HHH-6911 we now apply the " +
"explicit @DiscriminatorColumn. If you would prefer the legacy behavior, enable the `%2$s` setting " +
"(%2$s=true)"
)
void applyingExplicitDiscriminatorColumnForJoined(String className, String overrideSetting);
示例2: connectingToRedis
import org.jboss.logging.annotations.LogMessage; //导入依赖的package包/类
@LogMessage(level = INFO)
@Message(id = 1701, value = "Connecting to Redis at %1$s with a timeout set at %2$d millisecond(s)")
void connectingToRedis(String host, long timeout);
示例3: invalidEditOfReadOnlyItem
import org.jboss.logging.annotations.LogMessage; //导入依赖的package包/类
@LogMessage(level = ERROR)
@Message(value = "Application attempted to edit read only item: %s", id = 134)
void invalidEditOfReadOnlyItem(Object key);
示例4: loadingCollectionKeyNotFound
import org.jboss.logging.annotations.LogMessage; //导入依赖的package包/类
@LogMessage(level = WARN)
@Message(value = "In CollectionLoadContext#endLoadingCollections, localLoadingCollectionKeys contained [%s], but no LoadingCollectionEntry was found in loadContexts",
id = 159)
void loadingCollectionKeyNotFound(CollectionKey collectionKey);
示例5: unableToMarkForRollbackOnTransientObjectException
import org.jboss.logging.annotations.LogMessage; //导入依赖的package包/类
@LogMessage(level = ERROR)
@Message(value = "Unable to mark for rollback on TransientObjectException: ", id = 338)
void unableToMarkForRollbackOnTransientObjectException(@Cause Exception e);
示例6: guidGenerated
import org.jboss.logging.annotations.LogMessage; //导入依赖的package包/类
@LogMessage(level = WARN)
@Message(value = "GUID identifier generated: %s", id = 113)
void guidGenerated(String result);
示例7: exceptionReadingFile
import org.jboss.logging.annotations.LogMessage; //导入依赖的package包/类
@LogMessage(level = Logger.Level.INFO)
@Message(id = 5002, value = "Exception reading file %s: %s")
void exceptionReadingFile(final File file, final IOException e);
示例8: unableToApplyConstraints
import org.jboss.logging.annotations.LogMessage; //导入依赖的package包/类
@LogMessage(level = WARN)
@Message(value = "Unable to apply constraints on DDL for %s", id = 274)
void unableToApplyConstraints(String className,
@Cause Exception e);
示例9: cannotRemoveUploadedFile
import org.jboss.logging.annotations.LogMessage; //导入依赖的package包/类
@LogMessage(level = Logger.Level.ERROR)
@Message(id = 5005, value = "Cannot remove uploaded file %s")
void cannotRemoveUploadedFile(File file);
示例10: requestHeaderWasTooLarge
import org.jboss.logging.annotations.LogMessage; //导入依赖的package包/类
@LogMessage(level = Logger.Level.ERROR)
@Message(id = 5006, value = "Connection from %s terminated as request header was larger than %s")
void requestHeaderWasTooLarge(SocketAddress address, int size);
示例11: requestWasNotFullyConsumed
import org.jboss.logging.annotations.LogMessage; //导入依赖的package包/类
@LogMessage(level = Logger.Level.DEBUG)
@Message(id = 5007, value = "Request was not fully consumed")
void requestWasNotFullyConsumed();
示例12: entityManagerClosedBySomeoneElse
import org.jboss.logging.annotations.LogMessage; //导入依赖的package包/类
@LogMessage(level = WARN)
@Message(value = "Entity Manager closed by someone else (%s must not be used)", id = 82)
void entityManagerClosedBySomeoneElse(String autoCloseSession);
示例13: propertyNotFound
import org.jboss.logging.annotations.LogMessage; //导入依赖的package包/类
@LogMessage(level = WARN)
@Message(value = "Property %s not found in class but described in <mapping-file/> (possible typo error)", id = 207)
void propertyNotFound(String property);
示例14: authenticationFailed
import org.jboss.logging.annotations.LogMessage; //导入依赖的package包/类
@LogMessage(level = Logger.Level.DEBUG)
@Message(id = 5010, value = "Verification of authentication tokens for user '%s' has failed using mechanism '%s'.")
void authenticationFailed(final String userName, final String mechanism);
示例15: schemaExportUnsuccessful
import org.jboss.logging.annotations.LogMessage; //导入依赖的package包/类
@LogMessage(level = ERROR)
@Message(value = "Schema export unsuccessful", id = 231)
void schemaExportUnsuccessful(@Cause Exception e);