UALogger : Logging Utility for Mac/iOS Apps
UALogger is a powerful and flexible logging utility for Mac/iOS apps from Urban Apps. With UALogger, you can customize the log format and when to log to the console at runtime. It also allows collection of the entire recent console log for your application.
Detailed usage and customization instructions are provided on the Github page and the project repository also includes an example project that can help you get started with this tool.