You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Damon东哥 edited this page Mar 20, 2025
·
1 revision
If you want to customize the log output content, you can conform the type to the LogContent protocol. For example, to print only the path of a URL type, simply define the logStringValue property as shown below:
By default, DDLoggerSwift converts Dictionary and Array types to JSON format. If you need to customize the output for other types, implement the LogContent protocol accordingly.