MobDev.Server.LogStreamerSupervisor (mob_dev v0.5.7)

Copy Markdown View Source

Isolated supervisor for LogStreamer.

LogStreamer opens OS ports (adb logcat, xcrun) that can exit unexpectedly, causing crashes. Keeping it under its own supervisor means those crashes never bubble up to restart LogBuffer, the Endpoint, or the LiveView.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts \\ [])

@spec start_link(keyword()) :: Supervisor.on_start()