Diffusion Apple API  6.2.0
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Functions Variables Properties Pages
Class Methods | Properties | Instance Methods | List of all members
PTDiffusionLoggingDestinationConfiguration Class Reference

Introduction

Options allowing log output to be directed to a custom location.

See Also
PTDiffusionLogging
Since
6.0
Inheritance diagram for PTDiffusionLoggingDestinationConfiguration:

Class Methods

(instancetype) + NS_UNAVAILABLE
 

Properties

PTDiffusionLoggingMessagePrinter messagePrinter
 

Instance Methods

(instancetype) - NS_UNAVAILABLE
 
(instancetype) - initWithMessagePrinter:
 

Method Documentation

- (instancetype) initWithMessagePrinter: (PTDiffusionLoggingMessagePrinter)  messagePrinter

Returns a logging destination configuration object initialized with the given message printer.

Parameters
messagePrinterA block that may be called multiple times during the lifetime of the current process.
Note
The message printer will always be called from a single GCD dispatch queue managed by the client library and dedicated to this application process.
Since
6.0

Property Documentation

- (PTDiffusionLoggingMessagePrinter) messagePrinter
readnonatomiccopy

A block that may be called multiple times during the lifetime of the current process in order to emit formatted log messages.

Note
This property has the nullable attribute in order to allow for future expansion of this API.
Since
6.0