浏览代码

ft: 代码修改

master
SisMaker 3 年前
父节点
当前提交
ff06f2c0b2
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/tracer/tpTracerLog.erl
  2. +0
    -0
      src/trace说明.md

+ 1
- 1
src/tracer/tpTracerLog.erl 查看文件

@ -67,7 +67,7 @@ loop(#state{parent = Parent, fDir = FDir, fBaseName = FBaseName, size = Size, io
terminate(Reason, State);
RMsg ->
Msg = case TcmIsCut of true -> tpTermCut:cut(RMsg); _ -> RMsg end,
MsgBin = eFmt:formatBin("~w\n", [Msg]),
MsgBin = eFmt:formatBin("~10000p\n", [Msg]),
ok = file:write(IoDevice, MsgBin),
NewSize = Size + byte_size(MsgBin),
case NewSize >= MaxSize of

trace说明.md → src/trace说明.md 查看文件


正在加载...
取消
保存