Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.41 KB

README.md

File metadata and controls

56 lines (36 loc) · 1.41 KB

logio for iOS

A log.io logger for CocoaLumberjack.

English Document | 中文文档

screenshot.gif

Example

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

Requirements

Installation

logio is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'LogIO', :git => 'https://github.com/madordie/logio.git'

Usage

Assume that the server IP is 10.12.12.10

// swift
DDLog.add(LogIO.shared)
LogIO.shared.content(host: "10.12.12.10", port: 28777)

or

// oc
[DDLog addLogger: LogIO.shared];
[LogIO.shared contentHost:@"10.12.12.10" port:28777];

Author

madordie, [email protected]

Thx

License

logio is available under the MIT license. See the LICENSE file for more info.