I saw the below instructions in the README file of XCGLogger github page.
"Another common usage pattern is to have multiple loggers, perhaps one for UI issues, one for networking, and another for data issues.
Each log destination can have its own log level. As a convenience, you can set the log level on the log object itself and it will pass that level to each destination. Then set the destinations that need to be different."
I think that's very useful and meaningful to use XCGLogger. Could any expert show an demo about how to add multiple destinations with different purpose. Or I need to use multiple log objects?
Yes, you would use different log objects in that case.
Based on the example of advanced usage in the readme, you could do something like this:
This creates two log objects, one for UI events with a Debug level, one for DB events with a Verbose level.