From 9fc3834d3f2e4d4d25c39bc28223f231c4d19445 Mon Sep 17 00:00:00 2001 From: Konrad `ktoso` Malawski Date: Tue, 25 Jun 2019 11:55:56 +0900 Subject: [PATCH] Link to ianpartridge/swift-log-syslog backend impl (#73) motivation: @ianpartridge implemented a backend for syslog (awesome :-)) so we should link to it so people are easily able to discover it (and any other future implementations we'd want to link to). --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4fec3ff..f16ea1f 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ First things first: This is the beginning of a community-driven open-source proj What `SwiftLog` provides today can be found in the [API docs][api-docs]. -## Great, what's the tl;dr +## Getting started If you have a server-side Swift application, or maybe a cross-platform (for example Linux & macOS) app/library, and you would like to log, we think targeting this logging API package is a great idea. Below you'll find all you need to know to get started. @@ -54,6 +54,13 @@ LoggingSystem.bootstrap(StreamLogHandler.standardError) For further information, please check the [API documentation][api-docs]. +#### Selecting a logging backend implementation (applications only) + +As the API has just launched, not many implementations exist yet. If you are interested in implementing one see the "Implementation considerations" section below explaining how to do so. List of existing SwiftLog API compatible libraries: + +- [ianpartridge/swift-log-**syslog**](https://github.com/ianpartridge/swift-log-syslog) – a [syslog](https://en.wikipedia.org/wiki/Syslog) backend, +- Your library? [Get in touch!](https://forums.swift.org/c/server) + ## What is an API package? Glad you asked. We believe that for the Swift on Server ecosystem, it's crucial to have a logging API that can be adopted by anybody so a multitude of libraries from different parties can all log to a shared destination. More concretely this means that we believe all the log messages from all libraries end up in the same file, database, Elastic Stack/Splunk instance, or whatever you may choose.