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

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

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

Logger.debug介绍

暂无

代码示例

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  1. private void compileSources() {
  2. long l = 0;
  3. if (logger.isDebugEnabled()) {
  4. logger.debug("Source compiling starts ...");
  5. l = $.ms();
  6. }
  7. Collection<Source> toBeCompiled = sources.values();
  8. compiler.compile(toBeCompiled);
  9. if (logger.isDebugEnabled()) {
  10. logger.debug("Source compiling takes %sms to compile %s sources", $.ms() - l, toBeCompiled.size());
  11. }
  12. }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  1. private static NetworkBootupThread initNetworkLayer() {
  2. LOGGER.debug("initializing network layer ...");
  3. network = new UndertowNetwork();
  4. NetworkBootupThread nbt = new NetworkBootupThread(network);
  5. nbt.start();
  6. return nbt;
  7. }

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

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

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

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

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

  1. @Override
  2. protected void releaseResources() {
  3. if (null != ebean) {
  4. ebean.shutdown(true, false);
  5. if (_logger.isDebugEnabled()) {
  6. _logger.debug("ebean shutdown: %s", id());
  7. }
  8. ebean = null;
  9. ebeanConfig = null;
  10. }
  11. super.releaseResources();
  12. }

相关文章