New
LogCategorypublic enum (.request,.response) to categorize log output.
Change
-
AdyenNetworking now logs via Apple's unified logging system (
os.Logger/ osLog) instead ofprint, giving cleaner, categorized, privacy-aware output that integrates with Console.app. (#63) -
The
@_spi(AdyenInternal)globaladyenPrintAsJSONsignature changed fromadyenPrintAsJSON(_ data: Data, fileId:)toadyenPrintAsJSON(_ data: Data, _ category: LogCategory = .request, label: String = ""). The fileId parameter was removed in favor ofcategory/label.