CocoaLumberjack is a fast & simple, yet powerful & flexible logging framework for macOS, iOS, tvOS and watchOS. First, install CocoaLumberjack via CocoaPods, Carthage, Swift Package Manager or manually. Then use DDOSLogger for iOS 10 and later, or DDTTYLogger and DDASLLogger for earlier versions to begin logging messages. Carthage is a lightweight dependency manager for Swift and Objective-C. It leverages CocoaTouch modules and is less invasive than CocoaPods. As of CocoaLumberjack 3.6.0, you can use the Swift Package Manager as integration method. If you want to use the Swift Package Manager as integration method, either use Xcode to add the package dependency or add a dependency to your Package.swift. CocoaLumberjack also ships with a backend implementation for swift-log. Simply add CocoaLumberjack as dependency to your SPM target and also add the CocoaLumberjackSwiftLogBackend product as dependency to your target.

Features

  • Designed specifically for Objective-C, and takes advantage of features such as multi-threading, and grand central dispatch
  • In most cases it is an order of magnitude faster than NSLog
  • It takes as little as a single line of code to configure lumberjack when your application launches
  • One log statement can be sent to multiple loggers, meaning you can log to a file and the console simultaneously
  • Create your own loggers (it’s easy) and send your log statements over the network
  • Configure your logging however you want, and change log levels per file

Project Samples

Project Activity

See All Activity >

Categories

Frameworks, Logging

License

BSD License

Follow CocoaLumberjack

CocoaLumberjack Web Site

You Might Also Like
One Platform. Total IT Insight. Start with PRTG Now Icon
One Platform. Total IT Insight. Start with PRTG Now

Rely on a single source of truth. PRTG unifies monitoring for all your systems, apps, and services.

Why settle for fragmented monitoring? PRTG consolidates everything - servers, VMs, network devices, cloud services, and more, into one powerful platform. Get real-time status, customizable alerts, and deep analytics to drive smarter decisions. Designed for complex environments, PRTG scales with your needs, supports team collaboration, and helps you prevent outages before they impact users. Take control of your IT landscape and deliver the uptime your business requires.
Start Your Free PRTG Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CocoaLumberjack!

Additional Project Details

Operating Systems

Apple iPhone, Mac

Programming Language

Objective-C 2.0

Related Categories

Objective-C 2.0 Frameworks, Objective-C 2.0 Logging Software

Registered

2021-05-11