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

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

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

Logger.debug介绍

暂无

代码示例

代码示例来源:origin: boonproject/boon

  1. @Override
  2. public boolean has(Class type) {
  3. if (debug) logger.debug(contextImpl, "has( type )", "IN", type);
  4. if (debug) logger.debug(contextImpl, "has( type )", "IN", type);
  5. for (Module module : modules) {
  6. if (module.has(type)) {
  7. if (debug) logger.debug(contextImpl, "has( type )", "IN", type, "OUT", true);
  8. return true;
  9. }
  10. }
  11. if (debug) logger.debug(contextImpl, "has( type )", "IN", type, "OUT", false);
  12. return false;
  13. }

代码示例来源:origin: boonproject/boon

  1. @Override
  2. public boolean has(Class type) {
  3. if (debug) logger.debug(contextImpl, "has( type )", "IN", type);
  4. if (debug) logger.debug(contextImpl, "has( type )", "IN", type);
  5. for (Module module : modules) {
  6. if (module.has(type)) {
  7. if (debug) logger.debug(contextImpl, "has( type )", "IN", type, "OUT", true);
  8. return true;
  9. }
  10. }
  11. if (debug) logger.debug(contextImpl, "has( type )", "IN", type, "OUT", false);
  12. return false;
  13. }

代码示例来源:origin: boonproject/boon

  1. @Override
  2. public void parent(Context context) {
  3. if (debug) logger.debug(contextImpl, "parent");
  4. this.parent.set(context);
  5. }

代码示例来源:origin: boonproject/boon

  1. @Override
  2. public void parent(Context context) {
  3. if (debug) logger.debug(contextImpl, "parent");
  4. this.parent.set(context);
  5. }

代码示例来源:origin: io.fastjson/boon

  1. @Override
  2. public void parent(Context context) {
  3. if (debug) logger.debug(contextImpl, "parent");
  4. this.parent.set(context);
  5. }

代码示例来源:origin: boonproject/boon

  1. @Override
  2. public boolean has(String name) {
  3. for (Module module : modules) {
  4. if (module.has(name)) {
  5. if (debug) logger.debug(contextImpl, "has( name )", "IN", name, "OUT", true);
  6. return true;
  7. }
  8. }
  9. if (debug) logger.debug(contextImpl, "has( name )", "IN", name, "OUT", false);
  10. return false;
  11. }

代码示例来源:origin: boonproject/boon

  1. @Override
  2. public boolean has(String name) {
  3. for (Module module : modules) {
  4. if (module.has(name)) {
  5. if (debug) logger.debug(contextImpl, "has( name )", "IN", name, "OUT", true);
  6. return true;
  7. }
  8. }
  9. if (debug) logger.debug(contextImpl, "has( name )", "IN", name, "OUT", false);
  10. return false;
  11. }

代码示例来源:origin: io.fastjson/boon

  1. @Override
  2. public boolean has(String name) {
  3. for (Module module : modules) {
  4. if (module.has(name)) {
  5. if (debug) logger.debug(contextImpl, "has( name )", "IN", name, "OUT", true);
  6. return true;
  7. }
  8. }
  9. if (debug) logger.debug(contextImpl, "has( name )", "IN", name, "OUT", false);
  10. return false;
  11. }

代码示例来源:origin: boonproject/boon

  1. @Override
  2. public Iterable<Class<?>> types() {
  3. if (debug) logger.debug(contextImpl, "types()", "IN");
  4. List list = new ArrayList();
  5. for (Module m : modules) {
  6. for (Class<?> c : m.types()) {
  7. list.add(c);
  8. }
  9. }
  10. if (debug) logger.debug(contextImpl, "types()", "OUT", list);
  11. return list;
  12. }

代码示例来源:origin: boonproject/boon

  1. @Override
  2. public Iterable<Object> values() {
  3. if (debug) logger.debug(contextImpl, "values()", "IN");
  4. List list = new ArrayList();
  5. for (Module m : modules) {
  6. for (Object o : m.values()) {
  7. list.add(o);
  8. }
  9. }
  10. if (debug) logger.debug(contextImpl, "values()", "OUT", list);
  11. return list;
  12. }

代码示例来源:origin: boonproject/boon

  1. @Override
  2. public Iterable<Object> values() {
  3. if (debug) logger.debug(contextImpl, "values()", "IN");
  4. List list = new ArrayList();
  5. for (Module m : modules) {
  6. for (Object o : m.values()) {
  7. list.add(o);
  8. }
  9. }
  10. if (debug) logger.debug(contextImpl, "values()", "OUT", list);
  11. return list;
  12. }

代码示例来源:origin: io.fastjson/boon

  1. @Override
  2. public Iterable<Class<?>> types() {
  3. if (debug) logger.debug(contextImpl, "types()", "IN");
  4. List list = new ArrayList();
  5. for (Module m : modules) {
  6. for (Class<?> c : m.types()) {
  7. list.add(c);
  8. }
  9. }
  10. if (debug) logger.debug(contextImpl, "types()", "OUT", list);
  11. return list;
  12. }

代码示例来源:origin: boonproject/boon

  1. @Override
  2. public Iterable<String> names() {
  3. if (debug) logger.debug(contextImpl, "names()", "IN");
  4. List list = new ArrayList();
  5. for (Module m : modules) {
  6. for (String n : m.names()) {
  7. list.add(n);
  8. }
  9. }
  10. if (debug) logger.debug(contextImpl, "names()", "OUT", list);
  11. return list;
  12. }

代码示例来源:origin: boonproject/boon

  1. @Override
  2. public Iterable<Class<?>> types() {
  3. if (debug) logger.debug(contextImpl, "types()", "IN");
  4. List list = new ArrayList();
  5. for (Module m : modules) {
  6. for (Class<?> c : m.types()) {
  7. list.add(c);
  8. }
  9. }
  10. if (debug) logger.debug(contextImpl, "types()", "OUT", list);
  11. return list;
  12. }

代码示例来源:origin: boonproject/boon

  1. @Override
  2. public Iterable<String> names() {
  3. if (debug) logger.debug(contextImpl, "names()", "IN");
  4. List list = new ArrayList();
  5. for (Module m : modules) {
  6. for (String n : m.names()) {
  7. list.add(n);
  8. }
  9. }
  10. if (debug) logger.debug(contextImpl, "names()", "OUT", list);
  11. return list;
  12. }

代码示例来源:origin: boonproject/boon

  1. /**
  2. * Like puts but for warn exception logging.
  3. *
  4. * @param t throwable
  5. * @param messages messages to write.
  6. */
  7. public static void debug(Throwable t, Object... messages) {
  8. _log().debug(t, messages);
  9. }

代码示例来源:origin: boonproject/boon

  1. /**
  2. * Like puts but for debug logging.
  3. *
  4. * @param messages messages to write.
  5. */
  6. public static void debug(Object... messages) {
  7. _log().debug(messages);
  8. }

代码示例来源:origin: io.fastjson/boon

  1. /**
  2. * Like puts but for debug logging.
  3. *
  4. * @param messages messages to write.
  5. */
  6. public static void debug(Object... messages) {
  7. _log().debug(messages);
  8. }

代码示例来源:origin: boonproject/boon

  1. /**
  2. * Like puts but for debug logging.
  3. *
  4. * @param messages messages to write.
  5. */
  6. public static void debug(Object... messages) {
  7. _log().debug(messages);
  8. }

代码示例来源:origin: boonproject/boon

  1. /**
  2. * Like puts but for warn exception logging.
  3. *
  4. * @param t throwable
  5. * @param messages messages to write.
  6. */
  7. public static void debug(Throwable t, Object... messages) {
  8. _log().debug(t, messages);
  9. }

相关文章