org.slf4j.LoggerFactory.nonMatchingClasses()方法的使用及代码示例

x33g5p2x  于2022-01-23 转载在 其他  
字(5.6k)|赞(0)|评价(0)|浏览(138)

本文整理了Java中org.slf4j.LoggerFactory.nonMatchingClasses()方法的一些代码示例,展示了LoggerFactory.nonMatchingClasses()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LoggerFactory.nonMatchingClasses()方法的具体详情如下:
包路径:org.slf4j.LoggerFactory
类名称:LoggerFactory
方法名:nonMatchingClasses

LoggerFactory.nonMatchingClasses介绍

暂无

代码示例

代码示例来源:origin: redisson/redisson

if (DETECT_LOGGER_NAME_MISMATCH) {
  Class<?> autoComputedCallingClass = Util.getCallingClass();
  if (autoComputedCallingClass != null && nonMatchingClasses(clazz, autoComputedCallingClass)) {
    Util.report(String.format("Detected logger name mismatch. Given name: \"%s\"; computed name: \"%s\".", logger.getName(),
            autoComputedCallingClass.getName()));

代码示例来源:origin: wildfly/wildfly

if (DETECT_LOGGER_NAME_MISMATCH) {
  Class<?> autoComputedCallingClass = Util.getCallingClass();
  if (autoComputedCallingClass != null && nonMatchingClasses(clazz, autoComputedCallingClass)) {
    Util.report(String.format("Detected logger name mismatch. Given name: \"%s\"; computed name: \"%s\".", logger.getName(),
            autoComputedCallingClass.getName()));

代码示例来源:origin: com.github.oshi/oshi-core-shaded

if (DETECT_LOGGER_NAME_MISMATCH) {
  Class<?> autoComputedCallingClass = Util.getCallingClass();
  if (autoComputedCallingClass != null && nonMatchingClasses(clazz, autoComputedCallingClass)) {
    Util.report(String.format("Detected logger name mismatch. Given name: \"%s\"; computed name: \"%s\".", logger.getName(),
            autoComputedCallingClass.getName()));

代码示例来源:origin: uk.co.nichesolutions/slf4j-api

if (DETECT_LOGGER_NAME_MISMATCH) {
  Class<?> autoComputedCallingClass = Util.getCallingClass();
  if (autoComputedCallingClass != null && nonMatchingClasses(clazz, autoComputedCallingClass)) {
    Util.report(String.format("Detected logger name mismatch. Given name: \"%s\"; computed name: \"%s\".", logger.getName(),
            autoComputedCallingClass.getName()));

代码示例来源:origin: org.apache.directory.api/api-ldap-client-all

if (DETECT_LOGGER_NAME_MISMATCH) {
  Class<?> autoComputedCallingClass = Util.getCallingClass();
  if (autoComputedCallingClass != null && nonMatchingClasses(clazz, autoComputedCallingClass)) {
    Util.report(String.format("Detected logger name mismatch. Given name: \"%s\"; computed name: \"%s\".", logger.getName(),
            autoComputedCallingClass.getName()));

代码示例来源:origin: org.gandon.tomcat/juli-to-slf4j

if (DETECT_LOGGER_NAME_MISMATCH) {
  Class<?> autoComputedCallingClass = Util.getCallingClass();
  if (nonMatchingClasses(clazz, autoComputedCallingClass)) {
    Util.report(String.format("Detected logger name mismatch. Given name: \"%s\"; computed name: \"%s\".",
        logger.getName(), autoComputedCallingClass.getName()));

代码示例来源:origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

if (DETECT_LOGGER_NAME_MISMATCH) {
  Class<?> autoComputedCallingClass = Util.getCallingClass();
  if (autoComputedCallingClass != null && nonMatchingClasses(clazz, autoComputedCallingClass)) {
    Util.report(String.format("Detected logger name mismatch. Given name: \"%s\"; computed name: \"%s\".", logger.getName(),
            autoComputedCallingClass.getName()));

代码示例来源:origin: org.apache.activemq/activemq-all

if (DETECT_LOGGER_NAME_MISMATCH) {
  Class<?> autoComputedCallingClass = Util.getCallingClass();
  if (autoComputedCallingClass != null && nonMatchingClasses(clazz, autoComputedCallingClass)) {
    Util.report(String.format("Detected logger name mismatch. Given name: \"%s\"; computed name: \"%s\".", logger.getName(),
            autoComputedCallingClass.getName()));

代码示例来源:origin: org.jboss.eap/wildfly-client-all

if (DETECT_LOGGER_NAME_MISMATCH) {
  Class<?> autoComputedCallingClass = Util.getCallingClass();
  if (autoComputedCallingClass != null && nonMatchingClasses(clazz, autoComputedCallingClass)) {
    Util.report(String.format("Detected logger name mismatch. Given name: \"%s\"; computed name: \"%s\".", logger.getName(),
            autoComputedCallingClass.getName()));

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

if (DETECT_LOGGER_NAME_MISMATCH) {
  Class<?> autoComputedCallingClass = Util.getCallingClass();
  if (autoComputedCallingClass != null && nonMatchingClasses(clazz, autoComputedCallingClass)) {
    Util.report(String.format("Detected logger name mismatch. Given name: \"%s\"; computed name: \"%s\".", logger.getName(),
            autoComputedCallingClass.getName()));

代码示例来源:origin: io.virtdata/virtdata-lib-realer

if (DETECT_LOGGER_NAME_MISMATCH) {
  Class<?> autoComputedCallingClass = Util.getCallingClass();
  if (autoComputedCallingClass != null && nonMatchingClasses(clazz, autoComputedCallingClass)) {
    Util.report(String.format("Detected logger name mismatch. Given name: \"%s\"; computed name: \"%s\".", logger.getName(),
            autoComputedCallingClass.getName()));

代码示例来源:origin: ops4j/org.ops4j.pax.logging

if (DETECT_LOGGER_NAME_MISMATCH) {
  Class<?> autoComputedCallingClass = Util.getCallingClass();
  if (autoComputedCallingClass != null && nonMatchingClasses(clazz, autoComputedCallingClass)) {
    Util.report(String.format("Detected logger name mismatch. Given name: \"%s\"; computed name: \"%s\".", logger.getName(),
            autoComputedCallingClass.getName()));

代码示例来源:origin: Nextdoor/bender

if (DETECT_LOGGER_NAME_MISMATCH) {
  Class<?> autoComputedCallingClass = Util.getCallingClass();
  if (autoComputedCallingClass != null && nonMatchingClasses(clazz, autoComputedCallingClass)) {
    Util.report(String.format("Detected logger name mismatch. Given name: \"%s\"; computed name: \"%s\".", logger.getName(),
            autoComputedCallingClass.getName()));

相关文章