A lightweight, flexible logging library for Swift with colored console output, file logging, and cloud destinations.
SwiftyBeaver is a logging library for Swift that provides colorful, flexible, and lightweight logging for development and release. It solves the problem of inadequate built-in logging in Swift by offering multiple destinations like console, file, and cloud, with support for server-side Swift and frameworks like Vapor.
Swift developers building iOS, macOS, or server-side applications who need a robust, customizable logging solution for debugging and monitoring.
Developers choose SwiftyBeaver for its ease of use, colorful console output, and flexibility in logging destinations, making it a versatile alternative to basic print statements or more complex logging systems.
Convenient & secure logging during development & release in Swift 4 & 5
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides color-coded log levels in Xcode Console via OSLog API or print, enhancing debugging visibility, as shown in the setup examples for Xcode 15 and earlier versions.
Supports logging to console, file, and custom destinations like Google Cloud, making it versatile for both development and production environments, as highlighted in the features.
Works out-of-the-box with server-side Swift, including a dedicated Vapor logging provider for seamless integration in frameworks like Vapor.
Allows custom log formats, context addition, and filtering for tailored output, demonstrated in the usage section with examples like JSON output and context logging.
Requires different library versions for Swift 2, 3, 4, and 5, complicating dependency management and updates, as noted in the installation instructions.
Needs explicit setup of destinations and formats in code, such as in AppDelegate or SwiftUI init, which can be cumbersome compared to more integrated logging solutions.
Primarily offers a Google Cloud destination; other cloud services require custom destination development, as admitted in the 'Google Cloud & More' section.