aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Utils/log.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-08-21 21:06:04 +0800
committerchai <chaifix@163.com>2018-08-21 21:06:04 +0800
commitddef39a3154d214fa1bb7f154c1c6610714c8ea6 (patch)
tree267ae59ca84de7dd04fb37a74d88489acd42a839 /src/libjin/Utils/log.h
parentf50040e4752e1097fac793bb82569c63a6c09ee9 (diff)
*update
Diffstat (limited to 'src/libjin/Utils/log.h')
-rw-r--r--src/libjin/Utils/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libjin/Utils/log.h b/src/libjin/Utils/log.h
index 50ec3c8..e4ed879 100644
--- a/src/libjin/Utils/log.h
+++ b/src/libjin/Utils/log.h
@@ -61,7 +61,7 @@ void Loghelper::log(Level _level, const char* _fmt, ...)
if (!hasbit(levels, _level))
return;
#define FORMAT_MSG_BUFFER_SIZE (204800)
- char* levelStr = nullptr;
+ const char* levelStr = nullptr;
switch (_level)
{
case LV_ERROR: