Questions tagged [cocoalumberjack]

Use this tag with questions about CocoaLumberjack, an open-source logging framework for iPhone and Mac.

124 questions
1
vote
1 answer

Manually create new log file with CocoaLumberjack

I have configure CocoaLumberjack like this: // CocoaLumberjack DDLog.add(DDASLLogger.sharedInstance, with: DDLogLevel.debug) DDLog.add(DDTTYLogger.sharedInstance, with: DDLogLevel.debug) DDTTYLogger.sharedInstance.colorsEnabled = true fileLogger =…
user9213646
1
vote
1 answer

CocoaLumberjack - change log file name by subclassing the LogFileManager

I am trying to change the logfile name. What i've found so far is this. My subclass of DDLogFileManagerDefault looks like this: LogFileManager.h @import CocoaLumberjack; // this import would work as well // #import…
ecth
  • 1,215
  • 1
  • 16
  • 33
1
vote
1 answer

Prohibit downloading Dependencies of CocoaPod

When I link a CocoaPod in a Podfile that includes further Cocopods via dependencies: How can I disable the installation of these dependencies (via the Podfile)? Background scenario: GCDWebserver includes optional logging with CocoaLumberjack.…
jn-se
  • 238
  • 2
  • 9
1
vote
1 answer

iOS: CocoaLumberjack: implicit declaration of function is invalid in c99

I'm trying to implement CocoaLumberjack on my app as framework but I'm having some issues. Here is my implementation on my AppDelegate.h: #import "AppDelegate.h" #import - (BOOL)application:(UIApplication…
user2924482
  • 8,380
  • 23
  • 89
  • 173
1
vote
0 answers

Check dependencies

and . I use three Frameworks namely, FMDB; CocoaLumberjack; CDTDatastore. I'm running into these errors: Check dependencies Unable to run command Ld CocoaLumberjack - this target might include its own product. Unable to run command Touch…
RJey
  • 71
  • 9
1
vote
2 answers

CocoaLumberjack log level

I don't really understand what log level means. In Lumbejack the following log levels defined: #define LOG_LEVEL_OFF DDLogLevelOff #define LOG_LEVEL_ERROR DDLogLevelError #define LOG_LEVEL_WARN DDLogLevelWarning #define LOG_LEVEL_INFO …
hasan
  • 23,815
  • 10
  • 63
  • 101
1
vote
1 answer

Preprocessing rules for modules in Xcode

In CocoaLumberjack issue #778, when CocoaLumberjack is linked as a dynamic framework, the line #import "DDLogMacros.h" in CocoaLumberjack.h doesn't have any effects. Therefore, LOG_ASYNC_ENABLED(which is defined in DDLogMacros.h) is undefined. Can…
Hai Feng Kao
  • 5,219
  • 2
  • 27
  • 38
1
vote
1 answer

Objective-C / iOS - Resolve duplicated symbols inside a static library

My iOS project used a 3rd party (not open source) static library (i.e. libA.a), and this libA.a used CocoaLumberjack, it compiled CocoaLumberjack directly into itself, and the version of CocoaLumberjack is unclear. Now I also want to use…
Hao Xi
  • 351
  • 4
  • 12
1
vote
0 answers

Cocoapods and Swift compiling and able to debug but functionality not working

I'm pretty new to iOS development as a whole. I've started a project in swift and am using Cocoapods with Lumberjack for logging. I've successfully created a pod file and am using the workspace having run pod install. I've imported cocoa lumberjack…
Stuart Beard
  • 180
  • 1
  • 2
  • 12
1
vote
3 answers

CocoaLumberjack Dynamic Logging in Swift

I am trying to use CocoaLumberjack in Swift. Using pod 'CocoaLumberjack/Swift' In objective C I do the following int ddLogLevel = DDLogLevelOff; @implementation CLDDLoglevel + (int)ddLogLevel { return ddLogLevel; } +…
Ryan Heitner
  • 13,119
  • 6
  • 77
  • 119
1
vote
1 answer

LIbrary not loaded - Reason: Incompatible library version

I just did pod install of an older project (ObjC based) to latest CocoaLumberjack. In simulator everything works, but on device (running iOS 9.1) I get this error: dyld: Library not loaded: @rpath/CocoaLumberjack.framework/CocoaLumberjack …
Aleksandar Vacić
  • 4,433
  • 35
  • 35
1
vote
0 answers

How to get swift based code in Xcode to see Cocoapod's pods?

I have installed Cocoapods with FMDB, CocoaLumberjack and FBSDKCoreKit as pods, but I am not able to get access to them in my code. I am sure there is some simple fix but as it stands I am unable to find them,.. wondering if someone can point me in…
Nate Uni
  • 933
  • 1
  • 12
  • 26
1
vote
3 answers

CocoaLumberJack 2.0.0 compilation errors with Swift 1.2

My xCode version is 6.3. Installed CocoaLumberJack with cocoapods using pod 'CocoaLumberjack', '~> 2.0' But I get compile errors like in this screen. What am I missing here?
Shamas S
  • 7,507
  • 10
  • 46
  • 58
1
vote
1 answer

CocoaLumberjack Configuration using Cocoapdos

Am using Cocoapods and trying to configure the CocoaLumberjack library to be only there for the Debug build configuration. What I want to happen is that when I build for release, the CocoaLumberjack library is not compiled and all the log statements…
Pao13
  • 69
  • 1
  • 3
1
vote
1 answer

How to share static library and avoid repetition in iOS?

We are using CocoaLumberjack library for logging. In our project we have written various static libraries. Now problem is we want to use logging in almost every library, including main application. In each library we need to add Lumberjack library…
Pranit Kothari
  • 9,721
  • 10
  • 61
  • 137
1 2 3
8 9