code: public static void log(Category category, String prepared, String sql) {
      if (logger != null && isCategoryOk(category)) {
        doLog(-1, category, prepared, sql);
      }
    }
docs: ----------------------------------------------------------------------------------------------------------