diff options
Diffstat (limited to 'examples/cli.rs')
-rw-r--r-- | examples/cli.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cli.rs b/examples/cli.rs index 81820ad..18a7747 100644 --- a/examples/cli.rs +++ b/examples/cli.rs @@ -15,7 +15,7 @@ fn main() { } } }); - s.setevents( torctl::EventList::default().notice() ).unwrap(); + s.setevents( torctl::EventList::default().log(torctl::Severity::Notice).bootstrap() ).unwrap(); s.setconf(&[("SocksPort", Some("10245"))]).unwrap(); dbg!(s.getconf(&["ContactInfo", "DataDirectory", "HiddenServiceOptions"]).unwrap()); |