Using the following code on a iOS 14 simulator, all the log statements are printed in clear-text. There is no redactions or hashing happening. Both in the Xcode console, and in the Console.app on Mac.
Is anything else required to test if the redaction work?
let email = "apple@stackoverflow.com"
let logger = Logger()
logger.log("\(email, privacy: .auto)")
logger.log("\(email, privacy: .auto(mask: .hash))")
logger.log("\(email, privacy: .private)")
logger.log("\(email, privacy: .private(mask: .hash))")

