summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/cli.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cli.rs b/examples/cli.rs
index 2995bac..81820ad 100644
--- a/examples/cli.rs
+++ b/examples/cli.rs
@@ -15,7 +15,7 @@ fn main() {
}
}
});
- s.setevents(&["NOTICE", "INFO", "WARN", "ERR"]).unwrap();
+ s.setevents( torctl::EventList::default().notice() ).unwrap();
s.setconf(&[("SocksPort", Some("10245"))]).unwrap();
dbg!(s.getconf(&["ContactInfo", "DataDirectory", "HiddenServiceOptions"]).unwrap());