CocoaLumberjack

A fast & simple, yet powerful & flexible logging framework for macOS, iOS, tvOS and watchOS

BSD-3-CLAUSE License

Stars
13.2K
Committers
212

Bot releases are hidden (Show)

CocoaLumberjack - [3.8.5] - Xcode 15.3 - Privacy manifest fix, Improved DDOSLogger Latest Release

Published by ffried 7 months ago

Public

  • Fix build failure due to privacy manifest when using static linking with CocoaPods (#1408)
  • Allow custom mapping of DDLogFlag to os_log_type_t, fix default mapping for DDLogFlagWarn (#1410)

Full Changelog: https://github.com/CocoaLumberjack/CocoaLumberjack/compare/3.8.4...3.8.5

CocoaLumberjack - [3.8.3] - Xcode 15.2 - Privacy manifest, various fixes

Published by ffried 9 months ago

What's Changed

Full Changelog: https://github.com/CocoaLumberjack/CocoaLumberjack/compare/3.8.2...3.8.3

CocoaLumberjack - [3.8.2] Xcode 15.0 - various fixes, small improvements

Published by ffried 12 months ago

What's Changed

For more please check the CHANGELOG file.

New Contributors

Full Changelog: https://github.com/CocoaLumberjack/CocoaLumberjack/compare/3.8.1...3.8.2

CocoaLumberjack - [3.8.1]: Xcode 14.3, Various Fixes and Improvements

Published by ffried about 1 year ago

What's Changed

For more please check the CHANGELOG file.

New Contributors

Full Changelog: https://github.com/CocoaLumberjack/CocoaLumberjack/compare/3.8.0...3.8.1

CocoaLumberjack - [3.8.0]: Xcode 14.1, Swift 5.7, various fixes and improvements

Published by ffried almost 2 years ago

3.8.0 - Xcode 14.1 on Nov 2nd, 2022

Public

  • Add support for Xcode 14 / Swift 5.7 - drop support for Swift < 5.5, iOS/tvOS < 11, macOS < 10.13, watchOS < 4 (#1316)
  • Update README about swift-log usage (#1275)
  • Use dispatch_walltime for scheduling log file rolling timer (#1309)

Internal

  • Add consistent newline to file endings (#1272)
  • Fix error checking in DDFileLogger (#1274)
  • Avoid using NSString format (#1280)
  • Prevent logging to symlink files (#1314)

All changes

New Contributors

Full Changelog: https://github.com/CocoaLumberjack/CocoaLumberjack/compare/3.7.4...3.8.0

CocoaLumberjack - [3.7.4]: Fix Swift Package definition for Swift 5.3

Published by ffried almost 3 years ago

Public

This is a quick bugfix follow-up release to fix a breakage in Release 3.7.3.
For further changes see Release 3.7.3

CocoaLumberjack - [3.7.3]: Xcode & Swift updates, bugfixes

Published by ffried almost 3 years ago

Public

  • Fix "DDFileLogger: Failed to get offset" when setting maximumFileSize (#1234)
  • Follow-up to add annotations to DDOSLogger (#1248)
  • Fixed nullability conflict in DDDispatchQueueLogFormatter.h (#1252)
  • Add Swift 5.5 support, fix archive build on Xcode 13 (#1253)
  • Fix file access issue in Catalyst apps (#1257)
  • Fix excluded archs in debug build when not mac catalyst (#1260)
  • Bump Xcode last upgraded version to 13.2 (#1265)
  • Don't log warnings for CLI apps in DDTTYLogger (#1269)
CocoaLumberjack - [3.7.2]: Fix breakage introduced in 3.7.1

Published by ffried over 3 years ago

Public

  • Re-introduce (and deprecate) _tag field to fix breakage in 3.7.1 (#1224)
CocoaLumberjack - [3.7.1]: Bugfixes and Improvements, Xcode 12.5 support

Published by ffried over 3 years ago

Public

  • Deprecate tag property of DDLogMessage, use representedObject instead. (#1177, #532)
  • Add per-message synchronous logging control for messages logged via SwiftLog using DDLogHandler (#1209)
  • Add TargetConditionals import for Xcode 12.5 (#1210)
  • Prevent logging an error when archiving an already deleted file (#1212)
  • Use inclusive words - denylist / allowlist (#1218)
  • Add DDAssertionFailure macro for Objective-C (#1220)

Internal

  • Use setter to replace kvo for NSFileLogger (#1180)
  • Use new API for NSFileHandle on supported platforms (#1181)
  • Remove unnecessary checks in DDFileLogger (#1182)
  • Add an assertion to avoid potential deadlock issues for flushLog (#1183)
CocoaLumberjack - [3.7.0]: Xcode 12 & Swift 5.3, swift-log

Published by ffried about 4 years ago

Public

  • Breaking change: Dropped support for iOS 8 (#1153)
  • Update SPM tools-version to 5.3 to enable Swift 5.3 support (#1148)
  • Add backend for swift-log (#1164)
  • Specify CocoaPods version to ensure swift_version attribute works (#1167)
  • Simplify DDLogFileManager callbacks for archived log files (#1166)
CocoaLumberjack - [3.6.2]: Xcode 11.4+ & Swift 5.2 support, various fixes

Published by ffried about 4 years ago

Public

  • Fix warnings when building with SPM bundled with Swift 5.2 / Xcode 11.4 (#1132)
  • Added Swift name for DDQualityOfServiceName constants.
  • Don't localize timestamps in DDefaultFileLogFormatter (#1151)
  • Allow logging arbitrary objects via Swift log functions (#1146)

Repository

  • Switch from Travis to GitHub Actions (#1135, #1140, #1150, #1152)
CocoaLumberjack - Refined Swift interface, improved error handling and bug fixes

Published by ffried over 4 years ago

Public

  • Improve error handling during log file creation in DDFileLogger & DDLogFileManager (#1103 / #1111)
  • Improve nullability annotations in public headers (#1111 / #1112 / #1119)
  • Added support for thread QOS in DDLogMessage class (#1124)

Internal

  • Fix rolling timer being rescheduled rapidly due to leeway (#1106 / #1107)
  • Fix -didArchiveLogFile: returning the file name instead of the file path (#1078)
  • Fix setxattr() function usage (#1118)
  • Fix NSDateFormatter thread safety (#1121)
  • Fix -lt_dataForMessage: duplicated code (#1122)
CocoaLumberjack - Xcode 11 and SwiftPM

Published by sushichop about 5 years ago

Public

  • Swift Package Manager Support (#1083)
  • New willLogMessage: and didLogMessage: methods on DDFileLogger which provide access to the current log file info (#1076)

Internal

  • Fix issue with log archiving in the simulator (#1098)
  • Limit assertion to non-simulator build (#1100)
CocoaLumberjack - Xcode 10.2, Swift 5.0

Published by sushichop over 5 years ago

Public

  • Additional compatibility with Swift 5 (backwards compatible with Swift 4) (#1043)
  • Fix warning building with Xcode 10.2 (#1059)
  • Set Xcode 10.2 and Swift 5.0 as a default (#1064)
  • Fix format string crash (#1066)

Internal

  • Fix warning about syntax (#1054) (#1065)
  • Remove banned APIs (#1056) (#1057)
  • Add CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER & fix warnings (#1059)
  • Use LLONG_MAX instead of LONG_LONG_MAX (#1062)
CocoaLumberjack - 3.5 Patch2, Swift 5 Compatible, and more

Published by sushichop over 5 years ago

Public

  • Fix reusing of log files after rolling (#1042)
  • Fix creation of too many log files (#1049)
  • Preliminary compatibility with Swift 5 (backwards compatible with Swift 4) (#1044)
  • core: loggers os logger variations have been added (#1039)

Internal

  • Sync internal queues to prevent cleaning up log files too soon in tests (#1053)
  • DDLog checks for NULL values and for global queue dispatching has been added (#1045)
CocoaLumberjack - 3.5 Patch

Published by bpoplauschi over 5 years ago

Public

  • Fix high CPU usage because of empty fileAttributes and / or too high rollingFrequceny (#1028 #1033)
CocoaLumberjack - Xcode 10 and more

Published by bpoplauschi over 5 years ago

Public

  • Added logFileHeader property to DDLogFileManagerDefault. Override to set header for each created file. #998
  • DDFileLogger now accepts a dispatch_queue_t which it uses to run callbacks. If not provided, the default global queue is used. #1003
  • Added opt-in buffering to DDFileLogger. Call wrapWithBuffer to create a file logger which buffers. #1001, #1012
  • Add DDAssert and DDAssertionFailure functions for Swift #934
  • Add DD_LOG_LEVEL define (which can be set in GCC_PREPROCESSOR_DEFINITIONS) for Swift to set default log level (enables stripping for strings that are not logged). #952
  • Add asyncLoggingEnabled global variable to control asynchronous logging. #1019

Internal

  • Prevent memory access errors caused by a failed fetch #944
  • Fix common warnings emitted by -Wall, -Wconversion, -Wextra, etc #943, #931
  • Fixes issue that could cause log messages to become interleaved when there are multiple DDFileLoggers #985
  • DispatchQueueFormatter knows about com.apple.root.default-qos.overcommit now #932
  • Fix thread safety issues in DDFileLogger. Makes it a little harder to deadlock in some cases. #986, #1003, #946
  • Fix availability checks and memory leak #996

Repository

  • Reduce podspec to two subspecs and remove customized modulemap #976
  • Add danger support for PR checks #962 - fixes #956
  • Merged framework targets + using xcconfig + deployment target iOS 8 and Mac OS 10.10 #959 e97da34
  • Documentation update #955 e7414ae 0239196 #933
  • Full links to Docs and other resources so they are resolved on external pages (i.e. https://cocoapods.org/pods/CocoaLumberjack) e9d6971
  • Replace OSAtomic with stdatomic in DDDispatchQueueLogFormatter #957 #958
  • Add Stale Bot + configuration #953
  • Update to Xcode 10 and Swift 4.2 compiler #950
  • Xcode 10 scheme changes #949
  • Update incomplete BSD 3-Clause License #942
  • Updated to CocoaPods 1.5.3 2d0590f
  • Use Xcode 9.4 image for tests #939
  • Xcode (schemes) version bumps #938
  • Update demo and documentation about CustomLogLevels #1023
CocoaLumberjack - Xcode 9.3

Published by bpoplauschi over 6 years ago

  • Update README.md #912
  • Fixed typo in pull request template #913
  • Fix -Wimplicit-retain-self warnings #915
  • Update memory management in dynamic logging #916
  • Xcode 9.3 support #921 #923 #926 #927
  • Add extern "C" for Objective-C++ #922
  • Add flush method to the DDFileLogger #928
CocoaLumberjack - Xcode 9.2

Published by rivera-ernesto over 6 years ago

  • Fix DDLogFileManagerDefault -isLogFile #909
  • Fix locking the main thread #911
CocoaLumberjack - Xcode 9.1

Published by rivera-ernesto almost 7 years ago

  • Fix Travis CI #895
  • Fix typos #896
  • Fix schemes and link errors #897 #899 #903 #907
Package Rankings
Top 1.35% on Swiftpackageindex.com
Top 0.75% on Carthage
Top 0.09% on Cocoapods.org
Badges
Extracted from project README
Version License Pod Platform Carthage compatible codecov codebeat badge donation