mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 02:19:35 +08:00
SPDLOG_NO_SOURCE_LOC support for omitting __FILE__, __LINE__ and SPDLOG_FUNCTION information
This commit is contained in:
@@ -19,6 +19,13 @@
|
||||
// #define SPDLOG_CLOCK_COARSE
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Uncomment if source location logging is not needed.
|
||||
// This will prevent spdlog from using __FILE__, __LINE__ and SPDLOG_FUNCTION
|
||||
//
|
||||
// #define SPDLOG_NO_SOURCE_LOC
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Uncomment if thread id logging is not needed (i.e. no %t in the log pattern).
|
||||
// This will prevent spdlog from querying the thread id on each log call.
|
||||
|
Reference in New Issue
Block a user