org.osgl.logging.Logger.debug()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(6.2k)|赞(0)|评价(0)|浏览(283)

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

Logger.debug介绍

暂无

代码示例

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

protected void debug(String format, Object ... args) {
  logger.debug(format, args);
}

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

private static void initViewManager() {
  LOGGER.debug("initializing view manager ...");
  viewManager = new ViewManager();
}

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

static void initEnhancerManager() {
  LOGGER.debug("initializing byte code enhancer manager ...");
  enhancerManager = new BytecodeEnhancerManager();
}

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

protected static void initApplicationManager() {
  LOGGER.debug("initializing application manager ...");
  appManager = AppManager.create();
}

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

private static void shutdownNetworkLayer() {
  LOGGER.debug("shutting down network layer ...");
  network.shutdown();
}

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

private static void loadPlugins() {
  LOGGER.debug("scanning plugins ...");
  long ts = $.ms();
  int count = new PluginScanner().scan();
  LOGGER.debug("%s plugin scanning finished in %sms", count, $.ms() - ts);
}

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

@Override
public void register() {
  if (!load()) {
    Act.LOGGER.warn("Scanner plugin cannot be loaded: " + getClass().getName());
    return;
  }
  Act.scannerPluginManager().register(this);
  Act.LOGGER.debug("Plugin registered: %s", getClass().getName());
}

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

private void compileSources() {
  long l = 0;
  if (logger.isDebugEnabled()) {
    logger.debug("Source compiling starts ...");
    l = $.ms();
  }
  Collection<Source> toBeCompiled = sources.values();
  compiler.compile(toBeCompiled);
  if (logger.isDebugEnabled()) {
    logger.debug("Source compiling takes %sms to compile %s sources", $.ms() - l, toBeCompiled.size());
  }
}

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

private static void loadConfig() {
  LOGGER.debug("loading configuration ...");
  String s = SysProps.get("act.mode");
  if (null != s) {
    mode = Mode.valueOfIgnoreCase(s);
  }
  LOGGER.debug("Act starts in %s mode", mode);
  conf = new ActConfLoader().load(null);
}

代码示例来源:origin: org.actframework/act

private static void loadPlugins() {
  LOGGER.debug("scanning plugins ...");
  long ts = $.ms();
  int count = new PluginScanner().scan();
  LOGGER.debug("%s plugin scanning finished in %sms", count, $.ms() - ts);
}

代码示例来源:origin: org.actframework/act

@Override
public void register() {
  if (!load()) {
    Act.LOGGER.warn("Scanner plugin cannot be loaded: " + getClass().getName());
    return;
  }
  Act.scannerPluginManager().register(this);
  Act.LOGGER.debug("Plugin registered: %s", getClass().getName());
}

代码示例来源:origin: org.actframework/act

private static void loadConfig() {
  LOGGER.debug("loading configuration ...");
  String s = SysProps.get("act.mode");
  if (null != s) {
    mode = Mode.valueOfIgnoreCase(s);
  }
  LOGGER.debug("Act starts in %s mode", mode);
  conf = new ActConfLoader().load(null);
}

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

public CliDispatcher registerCommandHandler(String command, CommandMethodMetaInfo methodMetaInfo, CommanderClassMetaInfo classMetaInfo) {
  String sa[] = command.split(CommanderClassMetaInfo.NAME_SEPARATOR);
  for (String s : sa) {
    if (registry.containsKey(s)) {
      throw E.invalidConfiguration("Command %s already registered", command);
    }
    addToRegistry0(s, new CliHandlerProxy(classMetaInfo, methodMetaInfo, app()));
    logger.debug("Command registered: %s", s);
  }
  return this;
}

代码示例来源:origin: org.actframework/act

public CliDispatcher registerCommandHandler(String command, CommandMethodMetaInfo methodMetaInfo, CommanderClassMetaInfo classMetaInfo) {
  String sa[] = command.split(CommanderClassMetaInfo.NAME_SEPARATOR);
  for (String s : sa) {
    if (registry.containsKey(s)) {
      throw E.invalidConfiguration("Command %s already registered", command);
    }
    addToRegistry0(s, new CliHandlerProxy(classMetaInfo, methodMetaInfo, app()));
    logger.debug("Command registered: %s", s);
  }
  return this;
}

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

@Override
public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions) {
  MethodVisitor mv = super.visitMethod(access, name, desc, signature, exceptions);
  SenderMethodMetaInfo info = methodInfo(name, access);
  if (null == info) {
    return mv;
  }
  logger.debug(">>>About to enhance mailer method: %s", name);
  return new SenderEnhancer(mv, info, access, name, desc, signature, exceptions);
}

代码示例来源:origin: org.actframework/act

@Override
public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions) {
  MethodVisitor mv = super.visitMethod(access, name, desc, signature, exceptions);
  HandlerMethodMetaInfo info = methodInfo(name);
  if (null == info) {
    return mv;
  }
  logger.debug(">>>About to enhance handler: %s", name);
  return new HandlerEnhancer(mv, info, access, name, desc, signature, exceptions);
}

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

private static NetworkBootupThread initNetworkLayer() {
  LOGGER.debug("initializing network layer ...");
  network = new UndertowNetwork();
  NetworkBootupThread nbt = new NetworkBootupThread(network);
  nbt.start();
  return nbt;
}

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

@Override
public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions) {
  MethodVisitor mv = super.visitMethod(access, name, desc, signature, exceptions);
  HandlerMethodMetaInfo info = methodInfo(name);
  if (null == info) {
    return mv;
  }
  logger.debug(">>>About to enhance handler: %s", name);
  return new HandlerEnhancer(mv, info, access, name, desc, signature, exceptions);
}

代码示例来源:origin: org.actframework/act

@Override
public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions) {
  MethodVisitor mv = super.visitMethod(access, name, desc, signature, exceptions);
  SenderMethodMetaInfo info = methodInfo(name, access);
  if (null == info) {
    return mv;
  }
  logger.debug(">>>About to enhance mailer method: %s", name);
  return new SenderEnhancer(mv, info, access, name, desc, signature, exceptions);
}

代码示例来源:origin: org.actframework/act-ebean2

@Override
protected void releaseResources() {
  if (null != ebean) {
    ebean.shutdown(true, false);
    if (_logger.isDebugEnabled()) {
      _logger.debug("ebean shutdown: %s", id());
    }
    ebean = null;
    ebeanConfig = null;
  }
  super.releaseResources();
}

相关文章