mirror of
https://github.com/apple/swift-log
synced 2026-11-24 03:47:49 +00:00
This has numerous benefits, most of which center around values which may have expensive to perform custom `description` implementations, e.g. yet are neither a dictionary nor an array. It also allows carrying and thus "delaying" rendering of string representations until they are actually needed. E.g. one can imagine wanting to avoid rendering a string representation of a value if a logger never would log any of the metadata, esp. if the rendering is a heavy process.