Commit Graph

9 Commits

Author SHA1 Message Date
Bernard Xiong 9064b28c2a [license] Change license to Apache. 2018-10-14 19:28:18 +08:00
bernard b07bd6c515 [Utilities] Add more options for logtrace. 2017-12-29 22:52:38 +08:00
Bernard Xiong 4373ef2e26 [Utilities] Change the log_trace_init to auto init. 2015-05-05 10:43:15 +08:00
Grissiom 299cccfb26 logtrace: add log_session_lvl
log_session_lvl is suitable for performance critical places where in
most cases, the log is turned off by level. If the session is const and
the level is greater than session->lvl, the whole function will be
optimized out.
2014-04-10 21:22:39 +08:00
Grissiom 12728bcdff logtrace: add const modifier to the APIs
Compiler may do more optimization when the parameter is const.
2014-04-10 21:22:39 +08:00
Grissiom 2a20337707 logtrace: adjust the log values
logtrace only use odd number of log levels. So the use could set some
custom level amount them.
2013-09-23 15:13:45 +08:00
Grissiom 519982fa74 logtrace: add LOG_TRACE_VERBOSE log level 2013-09-23 15:10:02 +08:00
Grissiom 783a6a6717 logtrace: cleanup code and fix compiling warnings 2013-09-23 13:13:03 +08:00
Bernard Xiong e156a8d62b Move logtrace to utilites 2013-06-30 21:51:41 +08:00