# CocoaLumberjack/CocoaLumberjack

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

Repository: https://github.com/CocoaLumberjack/CocoaLumberjack
Canonical: https://ross.abutalabs.com/products/cocoalumberjack
Homepage: https://cocoalumberjack.github.io
Language: Objective-C
License: BSD-3-Clause
License Family: permissive
Topics: macos, ios, watchos, tvos, logging, log, objective-c, swift, cocoapods, carthage, lumberjack, cocoalumberjack, logger, spm, swift-package-manager, visionos
Last push: 2026-08-12T06:31:06+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 97, release rhythm 48, longevity 100
- inputs: {"age_days": 5635, "days_push": 21, "days_rel": 139, "gap_med": 267, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 13325, forks 2272 (observed 2026-08-28T04:11:03.130825+00:00)

## What it is
CocoaLumberjack is a fast and flexible logging framework for Apple platforms including macOS, iOS, tvOS, watchOS and visionOS, written in Objective-C with Swift support. It offers multiple loggers (console, file, custom) with log-level control and integrates via Swift Package Manager, CocoaPods, or Carthage.

## Use cases
- add structured logging to an iOS app
- log to files with rotation on macOS
- replace NSLog with a faster logger in Swift projects
- configure per-log-level output destinations
- capture logs in tvOS or watchOS apps

## When to choose
- you need high-performance logging on Apple platforms
- you want pluggable log formatters and destinations
- you support both Objective-C and Swift codebases

## When to avoid
- you need logging for non-Apple platforms
- you want a pure-Swift lightweight logger with minimal dependencies
- your project targets Linux or Windows

## Facets
- artifact type: library
- maturity: stable
- function: logging
- domain: developer-tools, mobile-development, desktop-applications
- platform: cpp
- tags: objective-c, swift, cocoapods, spm, carthage, apple-platforms, logger, macos, ios

## Member repositories
- CocoaLumberjack/CocoaLumberjack (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:03.130825+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:13:21.779534+00:00, confidence not recorded.
  - readme: https://github.com/CocoaLumberjack/CocoaLumberjack (fetched 2026-08-28T04:11:03.130825+00:00, sha a3bf7489c6a6)
  - homepage: https://cocoalumberjack.github.io (fetched 2026-08-29T08:08:20.493862+00:00, sha aed3393f76aa)
- Data as of 2026-08-30T08:39:29.467469+00:00.
