PlausibleCrashReporter
Instance Methods | Class Methods | List of all members
PLCrashReportTextFormatter Class Reference

Formats PLCrashReport data as human-readable text. More...

Inheritance diagram for PLCrashReportTextFormatter:
Inheritance graph
[legend]
Collaboration diagram for PLCrashReportTextFormatter:
Collaboration graph
[legend]

Instance Methods

(id) - initWithTextFormat:stringEncoding:
 Initialize with the request string encoding and output format. More...
 
- Instance Methods inherited from <PLCrashReportFormatter>
(NSData *) - formatReport:error:
 Format the provided report. More...
 

Class Methods

(NSString *) + stringValueForCrashReport:withTextFormat:
 Formats the provided report as human-readable text in the given textFormat, and return the formatted result as a string. More...
 

Detailed Description

Formats PLCrashReport data as human-readable text.

Method Documentation

- (id) initWithTextFormat: (PLCrashReportTextFormat textFormat
stringEncoding: (NSStringEncoding)  stringEncoding 

Initialize with the request string encoding and output format.

Parameters
textFormatFormat to use for the generated text crash report.
stringEncodingEncoding to use when writing to the output stream.
+ (NSString *) stringValueForCrashReport: (PLCrashReport *)  report
withTextFormat: (PLCrashReportTextFormat textFormat 

Formats the provided report as human-readable text in the given textFormat, and return the formatted result as a string.

Parameters
reportThe report to format.
textFormatThe text format to use.
Returns
Returns the formatted result on success, or nil if an error occurs.

The documentation for this class was generated from the following files: