#[non_exhaustive]pub struct NodeFabricLogPublishingConfiguration {
pub chaincode_logs: Option<LogConfigurations>,
pub peer_logs: Option<LogConfigurations>,
}Expand description
Configuration properties for logging events associated with a peer node owned by a member in a Managed Blockchain network.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.chaincode_logs: Option<LogConfigurations>Configuration properties for logging events associated with chaincode execution on a peer node. Chaincode logs contain the results of instantiating, invoking, and querying the chaincode. A peer can run multiple instances of chaincode. When enabled, a log stream is created for all chaincodes, with an individual log stream for each chaincode.
peer_logs: Option<LogConfigurations>Configuration properties for a peer node log. Peer node logs contain messages generated when your client submits transaction proposals to peer nodes, requests to join channels, enrolls an admin peer, and lists the chaincode instances on a peer node.
Implementations
sourceimpl NodeFabricLogPublishingConfiguration
impl NodeFabricLogPublishingConfiguration
sourcepub fn chaincode_logs(&self) -> Option<&LogConfigurations>
pub fn chaincode_logs(&self) -> Option<&LogConfigurations>
Configuration properties for logging events associated with chaincode execution on a peer node. Chaincode logs contain the results of instantiating, invoking, and querying the chaincode. A peer can run multiple instances of chaincode. When enabled, a log stream is created for all chaincodes, with an individual log stream for each chaincode.
sourcepub fn peer_logs(&self) -> Option<&LogConfigurations>
pub fn peer_logs(&self) -> Option<&LogConfigurations>
Configuration properties for a peer node log. Peer node logs contain messages generated when your client submits transaction proposals to peer nodes, requests to join channels, enrolls an admin peer, and lists the chaincode instances on a peer node.
sourceimpl NodeFabricLogPublishingConfiguration
impl NodeFabricLogPublishingConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NodeFabricLogPublishingConfiguration.
Trait Implementations
sourceimpl Clone for NodeFabricLogPublishingConfiguration
impl Clone for NodeFabricLogPublishingConfiguration
sourcefn clone(&self) -> NodeFabricLogPublishingConfiguration
fn clone(&self) -> NodeFabricLogPublishingConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl PartialEq<NodeFabricLogPublishingConfiguration> for NodeFabricLogPublishingConfiguration
impl PartialEq<NodeFabricLogPublishingConfiguration> for NodeFabricLogPublishingConfiguration
sourcefn eq(&self, other: &NodeFabricLogPublishingConfiguration) -> bool
fn eq(&self, other: &NodeFabricLogPublishingConfiguration) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &NodeFabricLogPublishingConfiguration) -> bool
fn ne(&self, other: &NodeFabricLogPublishingConfiguration) -> bool
This method tests for !=.
impl StructuralPartialEq for NodeFabricLogPublishingConfiguration
Auto Trait Implementations
impl RefUnwindSafe for NodeFabricLogPublishingConfiguration
impl Send for NodeFabricLogPublishingConfiguration
impl Sync for NodeFabricLogPublishingConfiguration
impl Unpin for NodeFabricLogPublishingConfiguration
impl UnwindSafe for NodeFabricLogPublishingConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more