Questions tagged [cocoalumberjack]

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

124 questions
0
votes
0 answers

Include `self` in CocoaLumberjack log

What is the best way to include self in each log message in CocoaLumberjack? What I tried: Implementing the DDLogFormatter protocol - the caller of the log message is not available in the formatLogMessage: method. #defineing something like: #define…
mllm
  • 17,068
  • 15
  • 53
  • 64
0
votes
1 answer

cocoalumberjack log to one file

I am developing mac application in that application I need to log to folder, where already some other application is also logging,so need to create only one file in that folder, when file rolling occurs the whole contents in that log folder are…
NSLog
  • 649
  • 1
  • 5
  • 12
0
votes
1 answer

GCDWebServer fails to comile when CocoaLumberjak is included in project

When using cocoapods, with those 2 libs: pod "GCDWebServer", "3.3.2" pod 'CocoaLumberjack', '2.2.0' Project fails to compile, as GCDW does not link to LumberJack (even optionally). Adding Lumberjack to "Linked Grameworks and Libraries" as…
Atomicus
  • 691
  • 1
  • 5
  • 6
0
votes
0 answers

trying to use lumberjack in a project that includes a library that also uses lumberjack

i'm currently using skyepub as a library to include an e-reader in my app. After following the instructions and trying to install lumberjack, i'm getting a compile error complaining that lumberjack was already included in skyepub.. and so i can't…
abbood
  • 23,101
  • 16
  • 132
  • 246
0
votes
1 answer

Subclassing CocoaLumberJack

I have a bunch of DDLogError statements in my app. I am starting to test the app with friends and family. Whenever one of these test apps hits an error, I want to be able to get back the logs automatically. Brute Force way is to add something…
Smart Home
  • 801
  • 7
  • 26
0
votes
1 answer

Sending files from iOS app to server running on google app engine

My iOS app interacts with a google app engine backend. I have the option for user to report an issue. When user enters the text describing the problem and presses the Submit button, I want to start a background upload of the issue description plus…
0
votes
1 answer

Linking iOS project with CocoaLumberjack via CocoaPods, undefined architecture

I'm running into an issue and I've reached the end of my knowledge in terms of my trouble shooting, Im seeing a typical "Undefined sybmols for architecute X" error, which typically is easily sovled by ensuring the architecutre is set int he project…
xceph
  • 1,036
  • 2
  • 13
  • 28
0
votes
1 answer

DDLog - How to save logs into one file for different targets?

There are two targets in my project, and all of them have used DDlog to print log. I want to save logs into one file with name "A.log". But I found there are two log files "A.log" and "A 2.log" in destination directory. All logs printed by Target…
pingshw
  • 113
  • 2
  • 9
0
votes
0 answers

Duplicate file/symbol issue in Objective-C

I am using 2 libraries which both need/using cocoalumberjack. One library is open source and other one is closed source. When I include both and try to compile, I get duplicate symbol/file issue. Just wondering how this can be fixed? Thanks.
itsaboutcode
  • 24,525
  • 45
  • 110
  • 156
0
votes
3 answers

CocoaLumberjack's Log Level switches to verbose

I'm using the CocoaLumberjack logging framework 2.0.0 for logging with different levels. In my Prefix.pch (I know that this file is deprecated, but it should work nevertheless) I include Cocoalumberjack and set the global log level as suggested…
0
votes
1 answer

Pod spec lint error due to CocoaLumberjack subspec

Week ago I've pushed MyApp to my private cocoapods without any problems. I did not update anything with CocoaLumberjack in the meantime. My podspec contains: spec.subspec 'Core' do |cs| cs.dependency 'libextobjc', '~> 0.4' cs.dependency…
Nat
  • 12,032
  • 9
  • 56
  • 103
0
votes
1 answer

CocoaLumberjack: How can I store custom data fields as part of a log message?

Here's my use-case: I am using CocoaLumberjack to log data in my app. I have six different severity levels. Some of the data is trivial (severity 6), some is not (severity 1). I have two "loggers" such that all of the data gets logged to console and…
DavidH
  • 1,420
  • 1
  • 14
  • 25
0
votes
2 answers

libPoads.a file is missing in CocoaLumberjack pod install

I am trying to install CocoaLumberjack using pod install. Installation successfully completed but libPods.a file is missing in my project. Without this lib file I am getting this following error, ld: library not found for…
Sasi
  • 1,666
  • 2
  • 24
  • 44
0
votes
1 answer

Cocoa Lumberjack how to write in same folder with different file name

With help of this CocoaLumberjack FileLogger logging to multiple files , I am able to create multiple log files (with same name in multiple directories), But I need to use DDLog in one of my project where it is required to write multiple logs files…
Anoop Vaidya
  • 46,283
  • 15
  • 111
  • 140
0
votes
2 answers

CocoaLumberjack different LogLevels for Debug and Relase not working

I'm developing an iOS Application using the CocoaLumberjack logging framework. On this wiki site is an article on how to use automatically different Log Levels for debug and relase. I implemented the code like the following: #import…
lukas
  • 2,300
  • 6
  • 28
  • 41
1 2 3
8
9