@@ -17,7 +17,6 @@ use crate::dataflow::channels::Message;
1717use crate :: communication:: { Push , Pull } ;
1818use crate :: { Container , Data } ;
1919use crate :: container:: { ContainerBuilder , CapacityContainerBuilder } ;
20- use crate :: logging:: TimelyLogger as Logger ;
2120
2221use crate :: dataflow:: operators:: InputCapability ;
2322use crate :: dataflow:: operators:: capability:: CapabilityTrait ;
@@ -31,7 +30,6 @@ pub struct InputHandleCore<T: Timestamp, C: Container, P: Pull<Message<T, C>>> {
3130 /// Each timestamp received through this input may only produce output timestamps
3231 /// greater or equal to the input timestamp subjected to at least one of these summaries.
3332 summaries : Rc < RefCell < PortConnectivity < T :: Summary > > > ,
34- logging : Option < Logger > ,
3533}
3634
3735/// Handle to an operator's input stream, specialized to vectors.
@@ -82,13 +80,9 @@ impl<T: Timestamp, C: Container, P: Pull<Message<T, C>>> InputHandleCore<T, C, P
8280 /// ```
8381 #[ inline]
8482 pub fn for_each < F : FnMut ( InputCapability < T > , & mut C ) > ( & mut self , mut logic : F ) {
85- let mut logging = self . logging . take ( ) ;
8683 while let Some ( ( cap, data) ) = self . next ( ) {
87- logging. as_mut ( ) . map ( |l| l. log ( crate :: logging:: GuardedMessageEvent { is_start : true } ) ) ;
8884 logic ( cap, data) ;
89- logging. as_mut ( ) . map ( |l| l. log ( crate :: logging:: GuardedMessageEvent { is_start : false } ) ) ;
9085 }
91- self . logging = logging;
9286 }
9387
9488}
@@ -150,13 +144,11 @@ pub fn new_input_handle<T: Timestamp, C: Container, P: Pull<Message<T, C>>>(
150144 pull_counter : PullCounter < T , C , P > ,
151145 internal : Rc < RefCell < Vec < Rc < RefCell < ChangeBatch < T > > > > > > ,
152146 summaries : Rc < RefCell < PortConnectivity < T :: Summary > > > ,
153- logging : Option < Logger >
154147) -> InputHandleCore < T , C , P > {
155148 InputHandleCore {
156149 pull_counter,
157150 internal,
158151 summaries,
159- logging,
160152 }
161153}
162154
0 commit comments