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

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

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

Logger.info介绍

暂无

代码示例

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

  1. @Override
  2. public void log(String message) {
  3. logger.info("FROM DATABASE LOG", message);
  4. }
  5. });

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

  1. @Override
  2. public void log(String message) {
  3. logger.info("FROM DATABASE LOG", message);
  4. }
  5. });

代码示例来源: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 info(Throwable t, Object... messages) {
  8. _log().info(t, messages);
  9. }

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

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

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

  1. /**
  2. * Like puts but for info logging.
  3. *
  4. * @param messages messages to write.
  5. */
  6. public static void info(Object... messages) {
  7. _log().info(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 info(Throwable t, Object... messages) {
  8. _log().info(t, messages);
  9. }

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

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

代码示例来源:origin: io.fastjson/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 info(Throwable t, Object... messages) {
  8. _log().info(t, messages);
  9. }

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

  1. public void putAll(Map<String, T> values) {
  2. initIfNeeded();
  3. if (debug) logger.info("PUT ALL ", values);
  4. putAllUseBatch(values);
  5. }

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

  1. public void putAll(Map<String, T> values) {
  2. initIfNeeded();
  3. if (debug) logger.info("PUT ALL ", values);
  4. putAllUseBatch(values);
  5. }

代码示例来源:origin: io.fastjson/slumberdb-mysql

  1. public void putAll(Map<String, T> values) {
  2. initIfNeeded();
  3. if (debug) logger.info("PUT ALL ", values);
  4. putAllUseBatch(values);
  5. }

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

  1. public void remove(String key) {
  2. initIfNeeded();
  3. if (debug) logger.info("REMOVE KEY", key);
  4. try {
  5. delete.setString(1, key);
  6. delete.executeUpdate();
  7. } catch (SQLException e) {
  8. delete = null;
  9. closed = true;
  10. connection = null;
  11. handle(sputs("Unable to remove key", key), e);
  12. }
  13. }

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

  1. public void remove(String key) {
  2. initIfNeeded();
  3. if (debug) logger.info("REMOVE KEY", key);
  4. try {
  5. delete.setString(1, key);
  6. delete.executeUpdate();
  7. } catch (SQLException e) {
  8. delete = null;
  9. closed = true;
  10. connection = null;
  11. handle(sputs("Unable to remove key", key), e);
  12. }
  13. }

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

  1. @Override
  2. public void remove(String key) {
  3. initIfNeeded();
  4. if (debug) logger.info("REMOVE KEY", key);
  5. try {
  6. delete.setString(1, key);
  7. delete.executeUpdate();
  8. } catch (SQLException e) {
  9. delete = null;
  10. closed = true;
  11. connection = null;
  12. handle(sputs("Unable to remove key", key), e);
  13. }
  14. }

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

  1. public void put(String key, T value) {
  2. initIfNeeded();
  3. if (debug) logger.info("PUT KEY", key, value);
  4. try {
  5. insert.setString(1, key);
  6. setValueColumnQueryParam(2, insert, value);
  7. insert.executeUpdate();
  8. } catch (SQLException e) {
  9. handle(sputs("Unable to insert key", key, "value", value), e);
  10. }
  11. }

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

  1. public void put(String key, T value) {
  2. initIfNeeded();
  3. if (debug) logger.info("PUT KEY", key, value);
  4. try {
  5. insert.setString(1, key);
  6. setValueColumnQueryParam(2, insert, value);
  7. insert.executeUpdate();
  8. } catch (SQLException e) {
  9. handle(sputs("Unable to insert key", key, "value", value), e);
  10. }
  11. }

代码示例来源:origin: io.fastjson/slumberdb-mysql

  1. public void put(String key, T value) {
  2. initIfNeeded();
  3. if (debug) logger.info("PUT KEY", key, value);
  4. try {
  5. insert.setString(1, key);
  6. setValueColumnQueryParam(2, insert, value);
  7. insert.executeUpdate();
  8. } catch (SQLException e) {
  9. handle(sputs("Unable to insert key", key, "value", value), e);
  10. }
  11. }

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

  1. public void stop() {
  2. if (GlobalConstants.DEBUG) {
  3. logger.info(Boon.className(this), "::stop()");
  4. }
  5. methodQueue.stop();
  6. for (Service service : services) {
  7. service.stop();
  8. }
  9. }

代码示例来源:origin: RichardHightower/slumberdb

  1. private void doHandleCallFromClient(final Map<String, String> message, String uri, final Object commChannel) {
  2. try {
  3. if (debug) logger.info("RequestHandler::doHandleCallFromClient", message);
  4. final DataStoreRequest dataStoreRequest = createRequest(message);
  5. if (debug) logger.info("RequestHandler::doHandleCallFromClient", dataStoreRequest);
  6. storeServer.registerOutputHandler(dataStoreRequest.clientId(), commChannel);
  7. mainRequestHandler(dataStoreRequest);
  8. } catch (Exception ex) {
  9. logger.error(ex, "RequestHandler::Unable to handle request");
  10. logger.error("RequestHandler::Unable to handle request MAP DATA", message);
  11. }
  12. }

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

  1. @Override
  2. public void put(String key, VersionedEntry<String, byte[]> entry) {
  3. initIfNeeded();
  4. if (debug) logger.info("PUT KEY", key, entry);
  5. try {
  6. insert.setString(KEY_POS, key);
  7. setValueColumnQueryParam(VALUE_POS, insert, entry.value());
  8. insert.setLong(CREATE_POS, entry.createdOn());
  9. insert.setLong(UPDATE_POS, entry.updatedOn());
  10. insert.executeUpdate();
  11. } catch (SQLException e) {
  12. handle(sputs("Unable to insert key", key, "value", entry), e);
  13. }
  14. }

相关文章