新增日志输出类
修复直播检测不绿的情况
This commit is contained in:
@@ -181,7 +181,7 @@ public class BiliBiliLiveDatabasesManager extends SQLiteManager {
|
||||
+ ", " + (upData.isEnable() ? 1 : 0)
|
||||
+ ", " + (upData.isSaveDanmu() ? 1 : 0) +
|
||||
");";
|
||||
System.out.println(sql);
|
||||
com.yutou.bilibili.Tools.Log.i(sql);
|
||||
statement.execute(sql);
|
||||
statement.closeOnCompletion();
|
||||
return true;
|
||||
@@ -257,7 +257,7 @@ public class BiliBiliLiveDatabasesManager extends SQLiteManager {
|
||||
return true;
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
System.out.println(sql);
|
||||
com.yutou.bilibili.Tools.Log.i(sql);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ public class SQLiteManager {
|
||||
startBatch();
|
||||
JSONArray array=json.getJSONArray("table");
|
||||
for (Object o : array) {
|
||||
System.out.println("创建表:"+((JSONObject)o).getString("name"));
|
||||
com.yutou.bilibili.Tools.Log.i("创建表:"+((JSONObject)o).getString("name"));
|
||||
createSqlOfTable((JSONObject) o);
|
||||
}
|
||||
closeBatch();
|
||||
|
||||
Reference in New Issue
Block a user