A lightweight logging framework for Swift that logs to standard output with support for LoggerAPI and Swift-log.
HeliumLogger is a lightweight logging framework for Swift that provides configurable logging to standard output. It solves the need for a simple, flexible logging solution in Swift applications by supporting multiple logging levels and compatibility with both Kitura LoggerAPI and Swift-log APIs. It's designed to be easy to integrate and customize without heavy dependencies.
Swift developers building server-side applications with Kitura or any Swift project requiring structured logging, particularly those who need compatibility with both LoggerAPI and Swift-log ecosystems.
Developers choose HeliumLogger for its dual API support, allowing seamless integration with existing Kitura projects or newer Swift-log based applications. Its lightweight nature and customization options provide essential logging functionality without bloat, making it ideal for projects that need straightforward, configurable logging output.
A lightweight logging framework for Swift
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Compatible with both Kitura LoggerAPI and Apple's Swift-log, allowing seamless integration in diverse Swift environments, as shown in the usage examples for both APIs in the README.
Offers configurable colorization, detailed formatting, file paths, and custom date/time formats, enabling tailored log presentation without heavy dependencies, detailed in the 'Further customization' section.
Prioritizes minimal overhead with straightforward initialization via HeliumLogger.use() or bootstrap methods, making it easy to add logging to Swift applications with basic setup steps.
Allows dynamic changing of logging levels at runtime for LoggerAPI, useful for adapting to debugging needs without restarting the application, as mentioned in the 'Adjust logging levels at runtime' section.
Lacks built-in support for log rotation, asynchronous logging, or direct integration with external logging services, which are common in more comprehensive logging frameworks like SwiftyBeaver.
When used with Swift-log, HeliumLogger's own logging level is ignored, leading to potential confusion and inconsistent behavior across different logging APIs, as noted in the README's logging levels section.
While supporting Swift-log, its origins and documentation are tied to the Kitura ecosystem, which might be less relevant for projects not using Kitura, and community support could be narrower.