Diffusion Apple API  6.5.13
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
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:

Properties

PTDiffusionLoggingMessagePrinter messagePrinter
 

Instance Methods

(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.
Returns
A logging destination configuration object initialized with the given message printer.
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