CocoaLumberjack Changelog

What's new in CocoaLumberjack 2.1.0

Oct 24, 2015
  • Fixed the version for the Carthage builds - see #633
  • Improved documentation
  • Includes changes from 2.1.0 Beta and 2.1.0 RC

New in CocoaLumberjack 2.0.1 (Jun 25, 2015)

  • Carthage support #521 #526
  • fixed crash on DDASLLogCapture when TIME or TIME_NSEC is NULL #484
  • Swift fixes and improvements: #483 #509 #518 #522 5eafceb
  • Unit tests: #500 #498 #499
  • Fix #478 by reverting #473
  • Add armv7s to static library #538
  • Fix NSLog threadid mismatch with iOS 8+/OSX 10.10+ #514
  • Fixed the LogV macros so that avalist is no longer undefined #511
  • Using type safe DDColor alias instead of #define directive #506
  • Several fixes/tweaks to DDASLLogCapture #512
  • Prevent duplicate log entries when both DDASLLogCapture and DDASLLogger are used #515
  • Fix memory leaks in DDTTYLogger, add self annotations to blocks #536
  • Update older syntax to modern subscripting for array access #482
  • Remove execute permission on non-executable files #517
  • Change code samples to use DDLogFlagWarning #520
  • Fix seemingly obvious typo in the toLogLevel function #508

New in CocoaLumberjack 2.0.0 (Apr 21, 2015)

  • The library was strongly refactored, with a few goals in mind:
  • Swift support - that we will release in a separate milestone, since CocoaPods 0.36.0 just got out
  • Unit tests support
  • reorganised things (on disk)
  • better coding style

New in CocoaLumberjack 2.0.0 RC (Dec 11, 2014)

  • Fix dispatch_queue_t properties.
  • Fix registeredClasses crashes at launch.

New in CocoaLumberjack 1.9.2 / 2.0.0 Beta 4 (Nov 26, 2014)

  • Major refactoring and clean up.
  • Remove superfluous log from property names and use underscore for direct variable access.
  • Preliminar Swift support through CocoaLumberjack.swift.
  • Automatic 1.9.x legacy support when DDLog.h is imported instead of the new CocoaLumberjack.h.

New in CocoaLumberjack 2.0.0 Beta 3 (Oct 21, 2014)

  • Modernize flag variables to be NS_OPTIONS/NS_ENUM.
  • Change the log flags and levels to NSUInteger.
  • Fix warning when compiled with assertions blocked.
  • Crash fixes.

New in CocoaLumberjack 2.0.0 Beta 2 (Sep 30, 2014)

  • Cleanup code.
  • Match NSLog read UID functionality in DDASLLogger.
  • Update framework and static libraries.

New in CocoaLumberjack 1.9.2 (Aug 11, 2014)

  • Fixed NSCalendar components:fromDate: crash - #140 #307 #216
  • New DDAssert macros - #306
  • Limit log growth by disk space only, not the number of files - #195 #303
  • Change the mechanism for adding new line character (i.e. '\n) to log messages in some logger - #308 #310
  • Fixed deprecations - #320 #312 #317
  • aslmsg not freed and causing memory leak - #314
  • Fixed CompresingLogFileManager compression bug - #315
  • Remove unnecessary NULL check before free() - #316

New in CocoaLumberjack 1.9.1 (Jul 5, 2014)

  • Fixed issues in rolling frequency - #243 #295 @georgekola
  • Fixed critical issue, addLogger method should use a full bit mask instead of LOG_LEVEL_VERBOSE, otherwise extended logs or extra flags are ignored fe6824c @robbiehanson
  • Performance optimisation: use compiler macros to skip iOS version checks - 4656d3b #298 #291 @robbiehanson @liviur
  • Changed the Build Active Architecture Only to NO #294 #293
  • Optimisation by reusing NSDateFormatter instances #296 #301

New in CocoaLumberjack 1.9.0 (May 24, 2014)

  • New ASL capture module, several File logger fixes:
  • New ASL capture module #242 #263
  • Override default NSFileProtection handling #285
  • Replaced warnings when ARC was not enabled with errors #284
  • Fix for issue #278 where really large log files can keep growing #280
  • Fixed Xcode warnings #279
  • Update calendarUnitFlags with new iOS SDK values #277
  • Fix possible crash in [NSCalendar components:fromDate:] #277
  • Fix #262 inverted ifs when renaming log #264
  • Proper way of doing singletons (via dispatch_once) #259
  • Explicitly declare DDFileLogger and DDDispatchQueueLogFormatter properties as atomic to avoid Xcode warnings #258
  • Set NSFileProtectionKey on the temporary file created during compression #256
  • Fix a rare crash in CompressingLogFileManager caused by an unchecked result from read #255
  • Add explicit casts for integer conversion #253
  • Replace use of NSThread.detachNewThreadSelector #251
  • Add a constructor override for initWithLogsDirectory: #252
  • Check and log the streamError whenever we fail to write during compression and log any failures when removing the original file or cleaning up the temporary file after compression failed #250
  • Following Apple's guidelines for iOS Static Libraries #249
  • Some extra warnings for the mobile framework xcode project a2e5666
  • Update FineGrainedLoggingAppDelegate.m #244
  • New [DDLog log:message:] primitive 7f8af2e
  • Fixed issue #181 when logging messages in iOS7 devices aren't properly retrieved by asl_search #240
  • Allow prevention of log file reuse #238
  • DDTTYLogger: Favour XcodeColors environment variable #237
  • DDLog: calling atexit_b in CLI applications, that use Foundation framework #234

New in CocoaLumberjack 1.8.1 (Feb 17, 2014)

  • read access to all loggers - #217 #219
  • fixed bug with archived logs not being handled correctly on iOS simulator - #218
  • log the strerror(errno) value when setxattr() fails - #211
  • Add a check for an archived log before overwriting - #214
  • improved safety by using assertions instead of comments (DDLog in the core) - #221
  • added Lumberjack logo :)

New in CocoaLumberjack 1.8.0 (Jan 22, 2014)

  • Better CL support, custom logfile name format, bug fixes:
  • Ddfilelogger custom logfile (name) format - #208
  • Security static analysis fix - #202
  • DDFileLogger: using CFBundleIdentifier as a log filename prefix on OSX and iOS - #206
  • Allow disabling of specific levels per-logger - #204
  • Improve support for OS X command line tools - #194
  • DDFileLogger: fixed crash that occurred in case if application name == nil - #198
  • DDFileLogger: fixed comment - #199
  • Fix Travis - #205

New in CocoaLumberjack 1.7.0 (Dec 19, 2013)

  • new log file naming convention - #191
  • completed transition to CocoaLumberjack organisation - #188

New in CocoaLumberjack 1.6.5.1 (Dec 4, 2013)

  • fixed compatibility with Xcode 4.4+ #187

New in CocoaLumberjack 1.6.5 (Dec 3, 2013)

  • DDFileLogger refactoring and fixes (thanks @dvor and @an0):
  • Fixed #63 Loggers don't flush in Command Line Tool #184
  • Fixed #52 Force log rotation #183
  • Fixed #55 After deleting log file or log dir they aren't created again without relaunching the app #183
  • Fixed #129 [iOS] DDFileLogger causes crash when logging from background app #183
  • Fixed #153 Log file on iPhone only contains a single line #177
  • Fixed #155 How do I combine all my log levels into one file? #177
  • Fixed #175 DFileLogger creationDate bug on 64-bit iOS system #177
  • Allow customizing the naming convention for log files to use timestamps #174
  • Other:
  • Implemented multiple formatter (DDMultiFormatter - alows chaining of formatters) #178
  • Added DD preffix to extension classes (ContextFilterLogFormatter and DispatchQueueLogFormatter) #178
  • Updated code indentation: Tabs changed to spaces #180
  • Included DDLog+LOGV.h in Cocoapods sources d253bd7
  • other fixes/improvements