Latest | 0.0.2 |
---|---|
Homepage | https://github.com/pj4533/DDMultipeerLogger |
License | MIT |
Platforms | ios , requires ARC |
Dependencies | CocoaLumberjack |
Authors |
A logger for CocoaLumberjack that uses multipeer connectivity
Pair with DDMultipeerConsole for displaying log messages on a remote device.
Usage
Add the logger as you would any other custom logger. All the Multipeer connectivity code is hidden behind the logger.
// default name is the device name
[DDLog addLogger:[[DDMultipeerLogger alloc] init]];
// or with a custom name
[DDLog addLogger:[[DDMultipeerLogger alloc] initWithPeerDisplayName:@"My Sweet Custom Name"]];
Sample
To run the sample
pod install
Then build and log some messages while running DDMultipeerConsole on another device.
Contact
PJ Gray
License
DDMultipeerLogger is available under the MIT license. See the LICENSE file for more info.
Latest podspec
{ "name": "DDMultipeerLogger", "version": "0.0.2", "summary": "A logger for CocoaLumberjack that uses multipeer connectivity.", "homepage": "https://github.com/pj4533/DDMultipeerLogger", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "PJ Gray": "[email protected]" }, "source": { "git": "https://github.com/pj4533/DDMultipeerLogger.git", "tag": "0.0.2" }, "platforms": { "ios": null }, "source_files": "DDMultipeerLogger", "requires_arc": true, "dependencies": { "CocoaLumberjack": [] }, "weak_frameworks": "MultipeerConnectivity" }
Sat, 05 Mar 2016 04:10:04 +0000