Swiftpack.co - bedrock-project/bedrock-log as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by bedrock-project.
bedrock-project/bedrock-log 0.1.0
An infrastructure agnostic logging API for Swift server applications.
⭐️ 0
🕓 2 weeks ago
.package(url: "https://github.com/bedrock-project/bedrock-log.git", from: "0.1.0")

Bedrock Log

An infrastructure agnostic logging API for Swift server applications.

Installation

BedrockLog is designed for Swift 5.5+. To us it in the project, declare the this package as a dependency in Package.swift:

.package(url: "https://github.com/bedrock-project/bedrock-log.git", .upToNextMinor(from: "0.1.0"))

Then define the BedrockLog module as a dependency for your application/library module:

.target(name: "BestExampleApp", dependencies: [
    .product(name: "BedrockLog", package: "bedrock-log")
],

GitHub

link
Stars: 0
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

v0.1.0
2 weeks ago

Changelog

Added

  • Log — provides main API for writing log.
  • LogHandler protocol — represents logging backend implementation.
  • NilLogger — empty implementation of LogHandler to stub logging.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics