Questions tagged [cocoalumberjack]

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

124 questions
0
votes
1 answer

iOS CocoaLumberjack logging framework not logging to a file on device

This is how I generate a log file on device so that every NSLog statement will be logged this file: NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask, YES); NSString *documentsDirectory = [paths…
zfgo
  • 195
  • 11
0
votes
2 answers

CocoaLumberjack Swift - Check if log level includes .verbose

I've been using CocoaLumberjack in Swift and Obj-C for years with pod 'CocoaLumberjack/Swift'. I'm converting code from Obj-C to Swift and can't figure out how to translate this into Swift: - (void)functionThatGetsCalledAlot { if (ddLogLevel &…
Jesse
  • 1,667
  • 12
  • 16
0
votes
0 answers

Getting file not found error during xctest cases build

I am facing compile time issue during unit test cases build. getting following error in one of my class file. we are using xmppframework in project as pod dependency which inturn uses cocoa lumberjack . didnt get any issue while building other…
Avilam
  • 21
  • 1
  • 5
0
votes
1 answer

CocoaLumberjack - How can I see the log files data in Xcode?

I am using CocoaLumberjack for storing iOS(objective c) app logs and all the logs are getting stored properly. I can see the log data files in my local machine but unable to see the content of each file in Xcode console. Here is the function that…
0
votes
1 answer

Unable to see the error logs in AWS S3 - CocoaLumberjack

I am using CocoaLumberjack for logging errors in my app and storing these errors in Amazon AWS S3. It's is working perfectly fine as all the logs are indeed getting stored in S3. But whenever I click on any link to see error message, it shows this…
0
votes
1 answer

Issue with cocoalumberjack when used along with xmppframework in swift project

facing issue with cocoa lumberjack when it is used along with Xmppframework in project written in swift!. installed xmppframework via pods. got following error,Use of unresolved identifier 'DDLogVerbose’. any suggestions?
0
votes
1 answer

Extract the latest 100 entries from Cocoa Lumberjack log

My app is using Cocoa Lumberjack as logging framework, it creates several log files that need to be aggregated. At some point I need to send debug data as an E-Mail attachment. The entire log is too long, how do I get the latest 100 log…
Peter G.
  • 7,816
  • 20
  • 80
  • 154
0
votes
1 answer

Cocoalumberjack check version

I imported CocoaLumberjack source files into my app a few months ago, and wondering if I need to update the source. I'm not sure how to check what version I'm running so I can compare against the latest source files. How do I check? There doesn't…
Z S
  • 7,039
  • 12
  • 53
  • 105
0
votes
1 answer

Integrating CocoaLumberjack 2.2.0 version for Xcode 7.2

I'm trying to integrate CocoaLumberjack 2.2.0 version in my project for which I'm using Xcode 7.2. But, as per CocoaLumberjack's current version there is requirement of Xcode 8, they said that for backword compatibility use CocoaLumberjack 2.2.0…
Pawan Ahire
  • 199
  • 1
  • 10
0
votes
1 answer

Global import for Swift CocoaLumberjack

I configured CocoaLumberjack properly using the swift pod. And I can log whatever: DDLogVervose("") DDLogInfo("") But I have to in every class to use it: import CocoaLumberjack Isnt there a way that I can globaly import ?
hasan
  • 23,815
  • 10
  • 63
  • 101
0
votes
1 answer

CocoaLumberjack: timed out while trying to read CoreDataLogger.xcodeproj

I'm using Carthage, Xcode 8 and swift 2.3, on Mac Sierra, carthage version 0.17.2 In my cartfile I have: github "CocoaLumberjack/CocoaLumberjack" "2.4.0" I run Carthage bootstrap --platform iOS and I get this error: timed out while trying to read…
D. Rothschild
  • 659
  • 9
  • 14
0
votes
1 answer

CocoaLumberjack Swift framework

I'm currently writing some swift libraries to be included in an App that uses CocoaLumberjack to log. So initially I've added CocoaLumberjack as a dependency to all of them and it works quite well. Then I've seen this ticket where they say, that…
Hons
  • 3,804
  • 3
  • 32
  • 50
0
votes
1 answer

Using CocoaLumberjack in Swift command line tool throws runtime error: dyld: Library not loaded: @rpath/libswiftAppKit.dylib

I have a command line tool written in Swift. I use Lumberjack in other, related apps, so I would like to get it working in this one. The command line tool does not import AppKit. According to the DDTTYLogger.h file, if DD_CLI is defined, custom…
0
votes
1 answer

Undefined symbols error using CocoaLumberjack in Obj-C/Swift project

I have been using CocoaLumberjack painlessly for a while in an objective-C project until recently, while I added some Swift classes into the project and added the following lines to the podfile: platform :ios, '8.0' use_frameworks! and changed the…
Jack X.
  • 85
  • 2
  • 10
0
votes
2 answers

How to not display logs in Xcode output, but still send them to Hockeyapp reports

I am using Hockeyapp for crash reporting and collecting logs when the app crashes. Using the method below. - (void)setupLumberjack { // Configure CocoaLumberjack [DDLog addLogger:[DDASLLogger sharedInstance]]; [DDLog…
digitaljerry
  • 198
  • 2
  • 11
1 2 3
8 9