The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Added:
- Swift 5.9 with VisionOS support
- Trace process info: cpu usage, guid, memory usage, pid, threads count, wakeups
- Custom configs for `trace` and `interval` methods
Fixed:
- Scopes level
Added:
- Int, string, dictionary, array, boolean literals in log functions: `logger.log([1, 2, 3])`
- Metadata for the logger, category and scope: `let logger = DLog(metadata: ["id" : 12345])`
- `auto` parameter for privacy options: `.private(mask: .hash, auto: false)`
- `pretty` json view for trace: `config.traceConfig.style = .pretty`
Modified:
- Divide filtering for items and scopes: `.filter(item: { $0.time < Date() })` and `.filter(scope: { $0.name == "scope" })`
Added:
- Time and date formatters for `Int` and `Double` values
- IPv6, text, UUID and raw formatters for `Data`
Added:
- Formatting options for Integer, Floating-point and Boolean values
Updated:
- Abbreviation time for scopes and intervals (e.g. 1h 20m 10.123s)
Changed:
- DLogObjC: Renamed `assert` to `assertion`
- Renamed `LogConfiguration` to `LogConfig` etc.
Added:
- Ability to set log configuration to a log category
- Privacy options: public, private with masks
- Formatters: date, number, byte count
- Added Objective-C support.
Added configuration of view options for the logger's text output, trace, thread, stack and interval info.
Removed ArgumentParser dependency.