Skip to content

Commit 4d08756

Browse files
committed
Add an info log that the reactor is being started
1 parent 4f2a3eb commit 4d08756

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/reactor.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::sync::MutexGuard;
88

99
use enumset::{EnumSet, EnumSetType};
1010

11-
use log::debug;
11+
use log::{debug, info};
1212

1313
use libc as sys;
1414

@@ -330,6 +330,8 @@ impl<const N: usize> Reactor<N> {
330330
return Ok(false);
331331
}
332332

333+
info!("Starting reactor");
334+
333335
std::thread::Builder::new()
334336
.name("async-io-mini".into())
335337
.stack_size(3048)

0 commit comments

Comments
 (0)