Skip to content

refactor(api): remove deprecated methods from logger public API #534

Description

@kcenon

What

logger.h:785-884 contains 8+ deprecated methods accumulated from v3.1.0 through v3.5.0. These include set_context(), set_context_id(), and various legacy configuration methods marked with [[deprecated]] attributes.

Additionally, the logger uses both common::Result<T> and lowercase result<T> type aliases inconsistently (e.g., L:427 vs L:234).

Why

  • New users cannot easily determine which API to use
  • Deprecated methods increase header size and compile time
  • Inconsistent Result type aliases cause confusion

Where

  • include/kcenon/logger/core/logger.h:785-884 — deprecated methods
  • include/kcenon/logger/core/logger.h:427,234 — Result type alias inconsistency

How

Acceptance Criteria

  • All [[deprecated]] methods removed from public API
  • Migration guide documents old → new API mapping
  • Result type aliases unified to single convention
  • CHANGELOG documents breaking changes

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreCore functionalitypriority:mediumMedium priority issuerefactorCode refactoring without changing functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions