pub fn spawn(
cfg: &LogShipCfg,
edge_id: String,
shutdown: Receiver<bool>,
) -> Option<LogShipper>Expand description
Build the shipper and spawn its background task. None when shipping is disabled.
pub fn spawn(
cfg: &LogShipCfg,
edge_id: String,
shutdown: Receiver<bool>,
) -> Option<LogShipper>Build the shipper and spawn its background task. None when shipping is disabled.