drewmccormack / ensembles

A synchronization framework for Core Data.
MIT License
1.63k stars 131 forks source link

Logging Callback #111

Closed fdstevex closed 10 years ago

fdstevex commented 10 years ago

CDELog() winds up calling NSLog(). I'm using CocoaLumberjack, and I'd like to be able to log the Ensembles messages through CocoaLumberjack so they end up in the log files and other output along with the rest of my app's log messages.

An optional logging callback would make this possible.

drewmccormack commented 10 years ago

Perhaps you can put in a pull request and I can take a look. I haven't used anything like that myself before.

fdstevex commented 10 years ago

I submitted a pull request. Looks like the pull request also includes the download change stuff from my last pull request; I'm not sure how to remove that but it doesn't show any changes in the diff so I think it's benign.

On Feb 25, 2014, at 3:05 AM, Drew McCormack notifications@github.com wrote:

Perhaps you can put in a pull request and I can take a look. I haven't used anything like that myself before.

— Reply to this email directly or view it on GitHub.

drewmccormack commented 10 years ago

Pull request accepted.