I used to use Lumberjack logger with Objective C and I like it. Now I start learning Swift and I cannot use my favourite logger there. Could somebody write step-by-step how I can do it please? I try to find something here but all topics are old with custom wrappers, before Lumberjack 2.0 release. What I did:
- I added Lumberjack with Cocoapods;
- I added "#import " to the Bridging-Header file.
And I don't know what should I do next? Because in ObjC I had macros: static const int ddLogLevel = LOG_LEVEL_INFO; else static const int ddLogLevel = LOG_LEVEL_VERBOSE; and my log level depends on compile flag... Can I do it here? And how to use Lumberjack in code? Thank you!