Does Rust something like logging on socket? Some like valve udp logging protocol? (logaddress_add)

Does Rust something like logging on socket? Some like valve udp logging protocol? (logaddress_add)