Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue217 read access to loggers #219

Merged

Conversation

dvor
Copy link
Member

@dvor dvor commented Feb 12, 2014

Providing read access to loggers:

+ (NSArray *)allLoggers;

@dvor
Copy link
Member Author

dvor commented Feb 12, 2014

Feature request from #217

*/
+ (NSArray *)allLoggers;
+ (void)allLoggersOnQueue:(dispatch_queue_t)queue
withBlock:(void (^)(NSArray *loggers))block;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For simplicity and to make it easier to maintain in the future I think we should keep only the first method, and let client projects use the results in the queue they want with or without blocks:

@bpoplauschi
Copy link
Member

I would agree with @rivera-ernesto about the simplicity. Do you see a particular reason to make it async besides syntactic sugar?

@dvor
Copy link
Member Author

dvor commented Feb 13, 2014

No, I'll clean it up asap.

@bpoplauschi
Copy link
Member

It's easy for us to comment, you are doing the work :)

@dvor
Copy link
Member Author

dvor commented Feb 13, 2014

Updated pull request. :)

@bpoplauschi
Copy link
Member

Looks good. Merging. And thanks @dvor

bpoplauschi added a commit that referenced this pull request Feb 13, 2014
@bpoplauschi bpoplauschi merged commit 5054b9b into CocoaLumberjack:master Feb 13, 2014
@dvor dvor deleted the issue217-read-access-to-loggers branch February 13, 2014 22:09
@bpoplauschi bpoplauschi added this to the 1.8.1 milestone Feb 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants