Function tcp

Source
pub fn tcp<T>(
    server: T,
    hostname: String,
    facility: Facility,
) -> Result<Box<Logger>, Error>
where T: ToSocketAddrs,
Expand description

returns a TCP logger connecting local and server