View Source ExMobileDevice.Syslog (exmobiledevice v0.2.19)

Reading syslogs.

Summary

Functions

Connect to the raw syslog.

Functions

@spec open_raw(String.t()) :: {:ok, :ssl.sslsocket()} | {:error, any()}

Connect to the raw syslog.

On success, this function will return an (ssl) socket that can be read to retrieve the current syslog entries.

Raw syslog format

This function makes no attempt to parse the contents of the syslog. The underlying transport is returned directly to the caller, who's responsibility it is read the syslog stream.

Each entry in the stream is a line terminated by both a newline and a NUL.