Commit Graph

4 Commits

Author SHA1 Message Date
user ee5fec311c feat(logger): add log level filtering 2026-07-21 13:45:30 +04:00
user 223afbea40 feat(logger): add timestamp support to log messages 2026-07-19 22:57:14 +04:00
user ac9373c2c9 feat: introduce LogLevel value object and improve logger API
- Replace LogLevel enum with a dedicated class that encapsulates
  log level representation.
- Add factory methods for creating Debug, Info, and Error levels.
- Add string conversion support through LogLevel::toString().
- Add equality comparison operators for LogLevel instances.

- Rename Logger::writeLog() to writeMessage().
- Add writeMessage() overload that uses the default log level.
- Implement actual file writing with error handling using core::Status.
- Improve logger documentation to reflect the updated API.

- Update logger tests to use the new LogLevel API.
- Move logger tests into the core test directory.
- Replace enum-based log level usage with LogLevel factory methods.
- Update test cases for the renamed writeMessage() method.
2026-07-19 16:48:54 +04:00
user f3b0f449b1 test: add Logger implementation and test coverage 2026-07-18 23:41:00 +04:00