Log "Set" Actions in Tun (Linux)

I've used the log library and its info method.

I've also added but not used env-logger.
This commit is contained in:
Sam Poder 2023-06-21 15:46:39 +00:00 committed by Conrad Kramer
parent 32e4e9d1d7
commit da065b503f
5 changed files with 90 additions and 29 deletions

View file

@ -10,6 +10,8 @@ crate-type = ["lib", "staticlib"]
tokio = { version = "1.21", features = ["rt", "macros"] }
tun = { version = "0.1", path = "../tun" }
clap = { version = "4.3.2", features = ["derive"] }
env_logger = "0.10"
log = "0.4"
[target.'cfg(target_os = "linux")'.dependencies]
caps = "0.5.5"