{"id":17861670,"url":"https://github.com/marcusbuffett/cocoalumberjack-crash","last_synced_at":"2025-07-18T06:35:05.618Z","repository":{"id":82055803,"uuid":"146958467","full_name":"marcusbuffett/cocoalumberjack-crash","owner":"marcusbuffett","description":"A project to demonstrate an issue with cocoalumberjack","archived":false,"fork":false,"pushed_at":"2018-09-01T01:49:51.000Z","size":3872,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-01T13:08:18.229Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcusbuffett.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-01T01:49:18.000Z","updated_at":"2018-09-01T01:51:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"aaf2970a-a02b-47bd-87dc-262fdf329afd","html_url":"https://github.com/marcusbuffett/cocoalumberjack-crash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marcusbuffett/cocoalumberjack-crash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusbuffett%2Fcocoalumberjack-crash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusbuffett%2Fcocoalumberjack-crash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusbuffett%2Fcocoalumberjack-crash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusbuffett%2Fcocoalumberjack-crash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcusbuffett","download_url":"https://codeload.github.com/marcusbuffett/cocoalumberjack-crash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusbuffett%2Fcocoalumberjack-crash/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265710951,"owners_count":23815441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T08:46:46.754Z","updated_at":"2025-07-18T06:35:05.598Z","avatar_url":"https://github.com/marcusbuffett.png","language":"Objective-C","funding_links":["http://www.paypal.com/en_US/i/btn/btn_donate_SM.gif","https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=UZRA26JPJB3DA"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\" \u003e\n  \u003cimg src=\"LumberjackLogo.png\" title=\"Lumberjack logo\" float=left\u003e\n\u003c/p\u003e\n\nCocoaLumberjack\n===============\n[![Build Status](https://travis-ci.org/CocoaLumberjack/CocoaLumberjack.svg?branch=master)](https://travis-ci.org/CocoaLumberjack/CocoaLumberjack)\n[![Pod Version](http://img.shields.io/cocoapods/v/CocoaLumberjack.svg?style=flat)](http://cocoadocs.org/docsets/CocoaLumberjack/)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![Pod Platform](http://img.shields.io/cocoapods/p/CocoaLumberjack.svg?style=flat)](http://cocoadocs.org/docsets/CocoaLumberjack/)\n[![Pod License](http://img.shields.io/cocoapods/l/CocoaLumberjack.svg?style=flat)](http://opensource.org/licenses/BSD-3-Clause)\n[![Reference Status](https://www.versioneye.com/objective-c/cocoalumberjack/reference_badge.svg?style=flat)](https://www.versioneye.com/objective-c/cocoalumberjack/references)\n[![codecov](https://codecov.io/gh/CocoaLumberjack/CocoaLumberjack/branch/master/graph/badge.svg)](https://codecov.io/gh/CocoaLumberjack/CocoaLumberjack)\n\n**CocoaLumberjack** is a fast \u0026 simple, yet powerful \u0026 flexible logging framework for Mac and iOS.\n\n### How to get started\n- install via [CocoaPods](http://cocoapods.org)\n\n##### Swift version via CocoaPods\n```ruby\nplatform :ios, '8.0'\n\n# You need to set target when you use CocoaPods 1.0.0 or later.\ntarget 'SampleTarget' do \n  use_frameworks!\n  pod 'CocoaLumberjack/Swift'\nend\n```\nNote: `Swift` is a subspec which will include all the Obj-C code plus the Swift one, so this is sufficient. \nFor more details about how to use Swift with Lumberjack, see [this conversation](https://github.com/CocoaLumberjack/CocoaLumberjack/issues/405).\n\n##### Swift Usage\n\nIf you installed using CocoaPods or manually:\n```swift\nimport CocoaLumberjack\n```\n\n```swift\nDDLog.add(DDTTYLogger.sharedInstance) // TTY = Xcode console\nDDLog.add(DDASLLogger.sharedInstance) // ASL = Apple System Logs\n\nlet fileLogger: DDFileLogger = DDFileLogger() // File Logger\nfileLogger.rollingFrequency = TimeInterval(60*60*24)  // 24 hours\nfileLogger.logFileManager.maximumNumberOfLogFiles = 7\nDDLog.add(fileLogger)\n\n...\n\nDDLogVerbose(\"Verbose\")\nDDLogDebug(\"Debug\")\nDDLogInfo(\"Info\")\nDDLogWarn(\"Warn\")\nDDLogError(\"Error\")\n```\n\n##### Obj-C version via CocoaPods\n\n```ruby\nplatform :ios, '7.0'\npod 'CocoaLumberjack'\n```\n\n##### Obj-C usage\nIf you're using Lumberjack as a framework, you can `@import CocoaLumberjack`.\n\nOtherwise, `#import \u003cCocoaLumberjack/CocoaLumberjack.h\u003e`\n\n```objc\n[DDLog addLogger:[DDTTYLogger sharedInstance]]; // TTY = Xcode console\n[DDLog addLogger:[DDASLLogger sharedInstance]]; // ASL = Apple System Logs\n\nDDFileLogger *fileLogger = [[DDFileLogger alloc] init]; // File Logger\nfileLogger.rollingFrequency = 60 * 60 * 24; // 24 hour rolling\nfileLogger.logFileManager.maximumNumberOfLogFiles = 7;\n[DDLog addLogger:fileLogger];\n\n...\n\nDDLogVerbose(@\"Verbose\");\nDDLogDebug(@\"Debug\");\nDDLogInfo(@\"Info\");\nDDLogWarn(@\"Warn\");\nDDLogError(@\"Error\");\n```\n\n##### Installation with Carthage (iOS 8+)\n\n[Carthage](https://github.com/Carthage/Carthage) is a lightweight dependency manager for Swift and Objective-C. It leverages CocoaTouch modules and is less invasive than CocoaPods.\n\nTo install with Carthage, follow the instruction on [Carthage](https://github.com/Carthage/Carthage)\n\nCartfile\n```\ngithub \"CocoaLumberjack/CocoaLumberjack\"\n```\n\n- or [install manually](Documentation/GettingStarted.md#manual-installation)\n- read the [Getting started](Documentation/GettingStarted.md) guide, check out the [FAQ](Documentation/FAQ.md) section or the other [docs](Documentation/)\n- if you find issues or want to suggest improvements, create an issue or a pull request\n- for all kinds of questions involving CocoaLumberjack, use the [Google group](http://groups.google.com/group/cocoalumberjack) or StackOverflow (use [#lumberjack](http://stackoverflow.com/questions/tagged/lumberjack)).\n\n### CocoaLumberjack 3\n\n#### Migrating to 3.x\n\n* To be determined\n\n### Features\n\n#### Lumberjack is Fast \u0026 Simple, yet Powerful \u0026 Flexible.\n\nIt is similar in concept to other popular logging frameworks such as log4j, yet is designed specifically for Objective-C, and takes advantage of features such as multi-threading, grand central dispatch (if available), lockless atomic operations, and the dynamic nature of the Objective-C runtime.\n\n#### Lumberjack is Fast\n\nIn most cases it is an order of magnitude faster than NSLog.\n\n#### Lumberjack is Simple\n\nIt takes as little as a single line of code to configure lumberjack when your application launches. Then simply replace your NSLog statements with DDLog statements and that's about it. (And the DDLog macros have the exact same format and syntax as NSLog, so it's super easy.)\n\n#### Lumberjack is Powerful:\n\nOne log statement can be sent to multiple loggers, meaning you can log to a file and the console simultaneously. Want more? Create your own loggers (it's easy) and send your log statements over the network. Or to a database or distributed file system. The sky is the limit.\n\n#### Lumberjack is Flexible:\n\nConfigure your logging however you want. Change log levels per file (perfect for debugging). Change log levels per logger (verbose console, but concise log file). Change log levels per xcode configuration (verbose debug, but concise release). Have your log statements compiled out of the release build. Customize the number of log levels for your application. Add your own fine-grained logging. Dynamically change log levels during runtime. Choose how \u0026 when you want your log files to be rolled. Upload your log files to a central server. Compress archived log files to save disk space...\n\n### This framework is for you if:\n\n-   You're looking for a way to track down that impossible-to-reproduce bug that keeps popping up in the field.\n-   You're frustrated with the super short console log on the iPhone.\n-   You're looking to take your application to the next level in terms of support and stability.\n-   You're looking for an enterprise level logging solution for your application (Mac or iPhone).\n\n### Documentation\n\n- **[Get started using Lumberjack](Documentation/GettingStarted.md)**\u003cbr/\u003e\n- [Different log levels for Debug and Release builds](Documentation/XcodeTricks.md)\u003cbr/\u003e\n- [Different log levels for each logger](Documentation/PerLoggerLogLevels.md)\u003cbr/\u003e\n- [Use colors in the Xcode debugging console](Documentation/XcodeColors.md)\u003cbr/\u003e\n- [Write your own custom formatters](Documentation/CustomFormatters.md)\u003cbr/\u003e\n- [FAQ](Documentation/FAQ.md)\u003cbr/\u003e\n- [Analysis of performance with benchmarks](Documentation/Performance.md)\u003cbr/\u003e\n- [Common issues you may encounter and their solutions](Documentation/ProblemSolution.md)\u003cbr/\u003e\n- [AppCode support](Documentation/AppCode-support.md)\n- **[Full Lumberjack documentation](Documentation/)**\u003cbr/\u003e\n\n### Requirements \nThe current version of Lumberjack requires:\n- Xcode 9 or later\n- Swift 4.0 or later\n- iOS 6 or later\n- OS X 10.8 or later\n- WatchOS 2 or later\n- TVOS 9 or later\n\n#### Backwards compability\n- for iOS 5 and OS X 10.7, use the 3.3 version\n- for Xcode 8 and Swift 3, use the 3.2 version\n- for Xcode 7.3 and Swift 2.3, use the 2.4.0 version\n- for Xcode 7.3 and Swift 2.2, use the 2.3.0 version\n- for Xcode 7.2 and 7.1, use the 2.2.0 version\n- for Xcode 7.0 or earlier, use the 2.1.0 version\n- for Xcode 6 or earlier, use the 2.0.x version\n- for OS X \u003c 10.7 support, use the 1.6.0 version\n\n### Communication\n\n- If you **need help**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/lumberjack). (Tag 'lumberjack')\n- If you'd like to **ask a general question**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/lumberjack).\n- If you **found a bug**, open an issue.\n- If you **have a feature request**, open an issue.\n- If you **want to contribute**, submit a pull request.\n\n### Author\n- [Robbie Hanson](https://github.com/robbiehanson)\n- Love the project? Wanna buy me a coffee? (or a beer :D) [![donation](http://www.paypal.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=UZRA26JPJB3DA)\n\n### Collaborators\n- [Ernesto Rivera](https://github.com/rivera-ernesto)\n- [Dmitry Vorobyov](https://github.com/dvor)\n- [Bogdan Poplauschi](https://github.com/bpoplauschi)\n- [C.W. Betts](https://github.com/MaddTheSane)\n\n### License\n- CocoaLumberjack is available under the BSD 3 license. See the [LICENSE file](https://github.com/CocoaLumberjack/CocoaLumberjack/blob/master/LICENSE).\n\n### Architecture\n\n\u003cp align=\"center\" \u003e\n    \u003cimg src=\"Documentation/CocoaLumberjackClassDiagram.png\" title=\"CocoaLumberjack class diagram\"\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcusbuffett%2Fcocoalumberjack-crash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcusbuffett%2Fcocoalumberjack-crash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcusbuffett%2Fcocoalumberjack-crash/lists"}