Releases: ikhvorost/DLog
Releases · ikhvorost/DLog
1.5.0
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:
1.4.0
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" })
1.3.2
Added:
- Time and date formatters for
Int
and Double
values
- IPv6, text, UUID and raw formatters for
Data
1.3.1
Added:
- Formatting options for Integer, Floating-point and Boolean values
Updated:
- Abbreviation time for scopes and intervals (e.g. 1h 20m 10.123s)
1.3.0
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
1.2.0
- Added Objective-C support.
1.1.0
Added configuration of view options for the logger's text output, trace, thread, stack and interval info.
1.0.1
Removed ArgumentParser dependency.