Swiftpack.co -  Package - jamesstout/Compress-Upload-CocoaLumberjack
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
jamesstout/Compress-Upload-CocoaLumberjack
Remote logging via NSURLSession transfer to upload compressed CocoaLumberjack logs to an HTTP server
.package(url: "https://github.com/jamesstout/Compress-Upload-CocoaLumberjack.git", from: "v0.1.4")

Compress-Upload-CocoaLumberjack

A mashup of the example CompressingLogFileManager in CocoaLumberjack and BackgroundUpload-CocoaLumberjack.

When the log file is rolled/archived, it's compressed, then uploaded to an HTTP server, and finally deleted.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

A Web server endpoint capable of accepting .gz files.

Installation

Compress-Upload-CocoaLumberjack is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'Compress-Upload-CocoaLumberjack'

Author

jamesstout, stoutyhk@gmail.com

Inspiration

And a load of the code from BackgroundUpload-CocoaLumberjack.

License

Compress-Upload-CocoaLumberjack is available under the MIT license. See the LICENSE file for more info.

GitHub

link
Stars: 1
Last commit: 3 weeks ago

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