DDMultipeerLogger icon indicating copy to clipboard operation
DDMultipeerLogger copied to clipboard

A logger for CocoaLumberjack that uses multipeer connectivity

DDMultipeerLogger

A logger for CocoaLumberjack that uses multipeer connectivity

Pair with DDMultipeerConsole for displaying log messages on a remote device.

Screenshot

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.