io.airlift.log.Logger.<init>()方法的使用及代码示例

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

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

Logger.<init>介绍

暂无

代码示例

代码示例来源:origin: io.airlift/log

  1. /**
  2. * Gets a named logger
  3. *
  4. * @param name the name of the logger
  5. * @return the named logger
  6. */
  7. public static Logger get(String name)
  8. {
  9. java.util.logging.Logger logger = java.util.logging.Logger.getLogger(name);
  10. return new Logger(logger);
  11. }

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

  1. /**
  2. * Gets a named logger
  3. *
  4. * @param name the name of the logger
  5. * @return the named logger
  6. */
  7. public static Logger get(String name)
  8. {
  9. java.util.logging.Logger logger = java.util.logging.Logger.getLogger(name);
  10. return new Logger(logger);
  11. }

代码示例来源:origin: com.teradata.airlift/log

  1. /**
  2. * Gets a named logger
  3. *
  4. * @param name the name of the logger
  5. * @return the named logger
  6. */
  7. public static Logger get(String name)
  8. {
  9. java.util.logging.Logger logger = java.util.logging.Logger.getLogger(name);
  10. return new Logger(logger);
  11. }

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

  1. @BeforeMethod
  2. public void setUp()
  3. throws Exception
  4. {
  5. handler = new MockHandler();
  6. inner = java.util.logging.Logger.getAnonymousLogger();
  7. inner.setUseParentHandlers(false);
  8. inner.setLevel(Level.ALL);
  9. inner.addHandler(handler);
  10. logger = new Logger(inner);
  11. }

代码示例来源:origin: io.airlift/log

  1. @BeforeMethod
  2. public void setUp()
  3. throws Exception
  4. {
  5. handler = new MockHandler();
  6. inner = java.util.logging.Logger.getAnonymousLogger();
  7. inner.setUseParentHandlers(false);
  8. inner.setLevel(Level.ALL);
  9. inner.addHandler(handler);
  10. logger = new Logger(inner);
  11. }

代码示例来源:origin: com.teradata.airlift/log

  1. @BeforeMethod
  2. public void setUp()
  3. throws Exception
  4. {
  5. handler = new MockHandler();
  6. inner = java.util.logging.Logger.getAnonymousLogger();
  7. inner.setUseParentHandlers(false);
  8. inner.setLevel(Level.ALL);
  9. inner.addHandler(handler);
  10. logger = new Logger(inner);
  11. }

相关文章