From 6336fc16aa3ca977751b02157314daf147ccb333 Mon Sep 17 00:00:00 2001 From: Meng Rao <278307367@qq.com> Date: Mon, 29 Nov 2021 14:51:37 +0800 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a2298cf..590da5c 100644 --- a/README.md +++ b/README.md @@ -171,8 +171,9 @@ The signiture of callback function is: // threadName: thread id or the name user set with setThreadName // msg: full log msg with header // bodyPos: log body index in the msg + // logFilePos: log file position of this msg typedef void (*LogCBFn)(int64_t ns, LogLevel level, fmt::string_view location, size_t basePos, - fmt::string_view threadName, fmt::string_view msg, size_t bodyPos); + fmt::string_view threadName, fmt::string_view msg, size_t bodyPos, size_t logFilePos); ``` ## Performance