Options allowing log output to be directed to a custom location.
- See Also
- PTDiffusionLogging
- Since
- 6.0
- (instancetype) initWithMessagePrinter: |
|
(PTDiffusionLoggingMessagePrinter) |
messagePrinter |
|
Returns a logging destination configuration object initialized with the given message printer.
- Parameters
-
messagePrinter | A 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
- (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