foundationkit/FoundationKit

Free FKLog namespace

Closed this issue · 3 comments

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

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

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.

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.