Instance Method

extendedLogData()

Returns a serialized representation of the access log in the Extended Log File Format.

Declaration

func extendedLogData() -> Data?

Return Value

A serialized representation of the access log in the Extended Log File Format.

Discussion

This method converts the web server access log into a textual format that conforms to the W3C Extended Log File Format for web server log files. For more information, see http://www.w3.org/pub/WWW/TR/WD-logfile.html.

You can generate a string suitable for console output using:

[[NSString alloc] initWithData:[myLog extendedLogData] encoding:[myLog extendedLogDataStringEncoding]]

See Also

Accessing Log Data

var events: [AVPlayerItemAccessLogEvent]

A chronologically ordered array of player item access log events.

var extendedLogDataStringEncoding: UInt

The string encoding of the extended log data.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software