Overview
common_system is deprecating several APIs that will be removed in v3.0.0. This issue tracks the migration effort for monitoring_system.
Deprecated APIs
1. Legacy Logger Method
Deprecated:
log(log_level, const std::string&, const std::string& file, int line, const std::string& function)
Migrate to:
log(log_level, std::string_view, const source_location&) // source_location auto-captured
2. THREAD_LOG_* Macros
Deprecated:
THREAD_LOG_TRACE
THREAD_LOG_DEBUG
THREAD_LOG_INFO
THREAD_LOG_WARNING
THREAD_LOG_ERROR
THREAD_LOG_CRITICAL
Migrate to:
LOG_TRACE
LOG_DEBUG
LOG_INFO
LOG_WARNING
LOG_ERROR
LOG_CRITICAL
Timeline
- v2.x: Deprecated APIs continue to work with compiler warnings
- v3.0.0: Deprecated APIs will be removed (breaking change)
Migration Resources
Parent Issue
Acceptance Criteria
Overview
common_systemis deprecating several APIs that will be removed in v3.0.0. This issue tracks the migration effort formonitoring_system.Deprecated APIs
1. Legacy Logger Method
Deprecated:
Migrate to:
2. THREAD_LOG_* Macros
Deprecated:
THREAD_LOG_TRACETHREAD_LOG_DEBUGTHREAD_LOG_INFOTHREAD_LOG_WARNINGTHREAD_LOG_ERRORTHREAD_LOG_CRITICALMigrate to:
LOG_TRACELOG_DEBUGLOG_INFOLOG_WARNINGLOG_ERRORLOG_CRITICALTimeline
Migration Resources
Parent Issue
Acceptance Criteria