mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-15 06:19:22 +08:00
299cccfb26
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.