# SwiftyBeaver/SwiftyBeaver

Convenient & secure logging during development & release in Swift 4 & 5

Repository: https://github.com/SwiftyBeaver/SwiftyBeaver
Canonical: https://ross.abutalabs.com/products/swiftybeaver
Homepage: https://swiftybeaver.com
Language: Swift
License: MIT
License Family: permissive
Topics: swift, logging, swiftybeaver-platform, swift-framework, vapor, server-side-swift, ios, apple-tv, macos, swift4, swift5
Last push: 2024-11-26T10:13:07+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3931, "days_push": 645, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6057, forks 493 (observed 2026-08-28T04:09:34.678048+00:00)

## What it is
SwiftyBeaver is a lightweight, colorful logging framework for Swift 3, 4, and 5, supporting console, file, and cloud destinations. It works across Apple platforms and server-side Swift, with customizable formats including JSON output.

## Use cases
- add colored logging to an iOS app
- log to file from a Swift command-line tool
- centralize logging for a Vapor server-side Swift app
- send Swift app logs to the cloud during release
- customize log format as JSON for structured logging
- use Apple's OSLog API from a Swift logger

## When to choose
- you develop in Swift on iOS, macOS, tvOS, or Linux and need flexible multi-destination logging
- you want colored console output in Xcode plus file and cloud logging in production
- you need a lightweight, MIT-licensed logging library with Swift Package Manager support

## When to avoid
- your project is not written in Swift
- you need a full observability stack with metrics and tracing rather than just logging
- you require log aggregation features beyond the SwiftyBeaver platform's destinations

## Facets
- artifact type: library
- maturity: active
- function: logging
- domain: developer-tools, backend, mobile-development
- platform: cross-platform
- tags: swift, console-logging, file-logging, cloud-logging, server-side-swift, vapor, oslog, ios, macos, linux

## Member repositories
- SwiftyBeaver/SwiftyBeaver (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:34.678048+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:48:44.164184+00:00, confidence not recorded.
  - readme: https://github.com/SwiftyBeaver/SwiftyBeaver (fetched 2026-08-28T04:09:34.678048+00:00, sha 61c40da6ebcd)
  - homepage: https://swiftybeaver.com (fetched 2026-08-29T08:45:07.216831+00:00, sha 295605bc023c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
