fix: conditionally include EnhancedLogging.h in Log.cpp

- Only include beast/utility/EnhancedLogging.h when BEAST_ENHANCED_LOGGING is defined
- Prevents compilation errors when enhanced logging is disabled
This commit is contained in:
Nicholas Dudfield
2025-07-26 17:05:52 +07:00
parent e0cc2b8b1e
commit d4ab8c4f1c

View File

@@ -23,7 +23,9 @@
#include <ripple/basics/Log.h>
#include <ripple/basics/chrono.h>
#include <ripple/basics/contract.h>
#ifdef BEAST_ENHANCED_LOGGING
#include <ripple/beast/utility/EnhancedLogging.h>
#endif
#include <boost/algorithm/string.hpp>
#include <cassert>
#include <cstring>