Introduces a new fmt based logging system to replace the previous
Qt-based logging mechanism.
Key features:
- Logging macros (LogD, LogI, LogW, LogE, LogF) for different levels.
- Configurable log levels and backends (Console, Journal).
- Configuration via environment variables (LINYAPS_LOG_LEVEL,
LINYAPS_LOG_BACKEND) for flexible control.
- Integration with systemd-journal for structured logging, including
code location (file, line, function).
- Custom `fmt` formatters for `QString`, `QStringList`, and
`linglong::utils::error::Error`.
- New string utility functions (`stringEqual`, `splitString`) are added.
The `qdebug_helper.h` is removed as part of this transition.
Signed-off-by: reddevillg <reddevillg@gmail.com>
* The difference between PackageInfo and PackageInfoV2:
PackageInfo PackageInfoV2
appid -
- id
- infoVersion
* We use PackageInfoV2 now and PackageInfo will
be converted to PackageInfoV2.
Log:
1. Update dbus interface xml files to
use QVariantMap as parameters and response;
2. Add api/schema/v1.yaml to generate all API types;
3. Remove qserializer.
Signed-off-by: black-desk <me@black-desk.cn>
When fetching dependency failed from remote repo with channel 'main',
fallback to channel 'linglong'. If there still failed, fallback to local
repo.
Log: