Commit f466f6f3 authored by yanzg's avatar yanzg

压缩视频

parent 17269ffa
...@@ -76,7 +76,9 @@ public class LogDefault implements RunnableLog { ...@@ -76,7 +76,9 @@ public class LogDefault implements RunnableLog {
MapRow row = new MapRow(); MapRow row = new MapRow();
row.put("day", DateHelper.getToday(info.getNow())); row.put("day", DateHelper.getToday(info.getNow()));
row.put("thread", info.getThreadId()); row.put("thread", info.getThreadId());
// 生成路径
String path = StringHelper.getCodeString(pathFormat, row); String path = StringHelper.getCodeString(pathFormat, row);
// 追加到文件
FileHelper.writeFileAppend(new File(path), sb.toString(), "UTF-8"); FileHelper.writeFileAppend(new File(path), sb.toString(), "UTF-8");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment