Diffusion Apple API 6.12.1
Unified Client Library for iOS, tvOS and OS X / macOS
Loading...
Searching...
No Matches
PTDiffusionLoggingDestinationConfiguration Class Reference

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

#include <PTDiffusionLoggingDestinationConfiguration.h>

Inheritance diagram for PTDiffusionLoggingDestinationConfiguration:

Instance Methods

(instancetype) - initWithMessagePrinter:

Properties

PTDiffusionLoggingMessagePrinter messagePrinter

Detailed Description

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

See also
PTDiffusionLogging
Since
6.0

Method Documentation

◆ initWithMessagePrinter:

- (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

◆ messagePrinter

- (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