Skip to content

deprecation: Migrate from deprecated common_system APIs before v0.3.0.0 #269

Description

@kcenon

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

  • Identify all usages of deprecated APIs
  • Migrate to new APIs
  • Verify no deprecation warnings during build
  • Update documentation if needed

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions