Glider is the logger for just about everything!
It's designed to be:
See the project's page on GitHub for more informations.
Glider-ELK is a logging trasnport for Glider Logging Framework.
The log entries are properly formatted, cached, and then uploaded via HTTP/HTTPS to elastic/logstash, which allows for further processing in its pipeline. The logs can then be stored in elastic/elasticsearch and visualized in elastic/kibana.
let elkTransport = try GliderELKTransport(hostname: "127.0.0.1", port: 5000, delegate: self) {
$0.uploadInterval = TimeAmount.seconds(10)
}
let logger = Log {
$0.subsystem = "com.myapp"
$0.category = "network"
$0.level = .info
$0.transports = [elkTransport]
}
This package require the Core Library of Glider you can found here.
Package is distributed both as CocoaPods dependency and SPM dependency.
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler. It is in early development, but Glider does support its use on supported platforms.
Once you have your Swift package set up, adding Glider as a dependency is as easy as adding it to the dependencies value of your Package.swift
.
dependencies: [
.package(url: "https://github.com/immobiliare/Glider-ELK.git")
]
CocoaPods is a dependency manager for Cocoa projects.
To integrate Glider into your project, specify it in your Podfile:
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
pod 'GliderELK'
Minimum requirements are:
Made with ❤️ by ImmobiliareLabs & Contributors
We'd love for you to contribute to Glider!
If you have questions on using Glider, bugs, and enhancement, please feel free to reach out by opening a GitHub Issue.
link |
Stars: 5 |
Last commit: 1 year ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics