本文整理了Java中org.apache.druid.java.util.common.logger.Logger.<init>()
方法的一些代码示例,展示了Logger.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.<init>()
方法的具体详情如下:
包路径:org.apache.druid.java.util.common.logger.Logger
类名称:Logger
方法名:<init>
暂无
代码示例来源:origin: apache/incubator-druid
public LoggingEmitter(LoggingEmitterConfig config, ObjectMapper jsonMapper)
{
this(new Logger(config.getLoggerClass()), Level.toLevel(config.getLogLevel()), jsonMapper);
}
代码示例来源:origin: apache/incubator-druid
public class TaskStatusPlus
private static final Logger log = new Logger(TaskStatusPlus.class);
代码示例来源:origin: apache/incubator-druid
public static final String DEFAULT_TIER = "_default_tier";
private static final Logger log = new Logger(DruidServer.class);
代码示例来源:origin: apache/incubator-druid
logWriter = new NullWriter()
private final Logger logger = new Logger(DruidJsonValidator.class);
代码示例来源:origin: apache/incubator-druid
@SuppressWarnings("MalformedFormatString")
@Test
public void testLogWithCrazyMessages()
{
final String message = "this % might %d kill %*.s the %s parser";
final Logger log = new Logger(LoggerTest.class);
log.warn(message);
}
代码示例来源:origin: apache/incubator-druid
@SuppressWarnings("MalformedFormatString")
@Test
public void testLegacyLogging()
{
final Logger log = new Logger(LoggerTest.class);
final Throwable throwable = new Throwable();
// These should show up in an IDE as deprecated, but shouldn't actually fail.
log.error("foo", throwable);
log.warn("foo", throwable);
}
}
代码示例来源:origin: apache/incubator-druid
public class SQLMetadataSegmentPublisher implements MetadataSegmentPublisher
private static final Logger log = new Logger(SQLMetadataSegmentPublisher.class);
代码示例来源:origin: apache/incubator-druid
public class IndexTask extends AbstractTask implements ChatHandler
private static final Logger log = new Logger(IndexTask.class);
private static final HashFunction hashFunction = Hashing.murmur3_128();
private static final String TYPE = "index";
代码示例来源:origin: apache/incubator-druid
public class IndexMergerV9 implements IndexMerger
private static final Logger log = new Logger(IndexMergerV9.class);
代码示例来源:origin: apache/incubator-druid
public static final String HLLC_STRING = VersionOneHyperLogLogCollector.class.getName();
public static final Logger log = new Logger(BaseCalciteQueryTest.class);
代码示例来源:origin: org.apache.druid/java-util
public LoggingEmitter(LoggingEmitterConfig config, ObjectMapper jsonMapper)
{
this(new Logger(config.getLoggerClass()), Level.toLevel(config.getLogLevel()), jsonMapper);
}
代码示例来源:origin: org.apache.druid/druid-api
public class TaskStatusPlus
private static final Logger log = new Logger(TaskStatusPlus.class);
代码示例来源:origin: org.apache.druid/druid-server
public static final String DEFAULT_TIER = "_default_tier";
private static final Logger log = new Logger(DruidServer.class);
代码示例来源:origin: org.apache.druid/druid-services
logWriter = new NullWriter()
private final Logger logger = new Logger(DruidJsonValidator.class);
代码示例来源:origin: org.apache.druid/druid-server
public class SQLMetadataSegmentPublisher implements MetadataSegmentPublisher
private static final Logger log = new Logger(SQLMetadataSegmentPublisher.class);
代码示例来源:origin: org.apache.druid/druid-processing
public class IndexMergerV9 implements IndexMerger
private static final Logger log = new Logger(IndexMergerV9.class);
代码示例来源:origin: org.apache.druid/druid-indexing-service
public class IndexTask extends AbstractTask implements ChatHandler
private static final Logger log = new Logger(IndexTask.class);
private static final HashFunction hashFunction = Hashing.murmur3_128();
private static final String TYPE = "index";
内容来源于网络,如有侵权,请联系作者删除!