foundationkit / FoundationKit

Everything that really should be in Foundation, but isn't. Future-proof with ARC
Other
80 stars 9 forks source link

Free FKLog namespace #42

Closed myell0w closed 13 years ago

myell0w commented 13 years ago

I would suggest removing/renaming the FKLog - Macro s.t. one can use it with a custom logging framework and FKLogToString. For example I would like to use the macro named "FKLog" in combination with CocoaLumberJack instead of NSLog.

MSch commented 13 years ago

Fine with me, but isn't cocoa lumberjack that huge thing that requires dozens of .h files for configuration?

eaigner commented 13 years ago

Thought we do not include CL because its so bloated? But if you include it it would have nothing in common with FoundationKit so the FK prefix would be inappropriate for it anyway.

Why not define a separate CLLog if you want to use CL?

Just my 2 cents.

myell0w commented 13 years ago

CocoaLumberJack won't get included into FoundationKit, no. I just used in in my app, but I'm not sure if I will continue to use it. Was a suggestion to free the name "FKLog", if someone wants to use a different logging mechanism than NSLog, but I'm fine if we keep it. I don't like the name "Log" as proposed by @MSch because somehow Xcode can't handle autocompletion for this name and gives me weird proposals, but if I really want to build a similar function with CocoaLumberJack i can use a different name.