#[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§
source§impl 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.
source§impl NodeFabricLogPublishingConfiguration
impl NodeFabricLogPublishingConfiguration
sourcepub fn builder() -> NodeFabricLogPublishingConfigurationBuilder
pub fn builder() -> NodeFabricLogPublishingConfigurationBuilder
Creates a new builder-style object to manufacture NodeFabricLogPublishingConfiguration
.
Trait Implementations§
source§impl Clone for NodeFabricLogPublishingConfiguration
impl Clone for NodeFabricLogPublishingConfiguration
source§fn clone(&self) -> NodeFabricLogPublishingConfiguration
fn clone(&self) -> NodeFabricLogPublishingConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for NodeFabricLogPublishingConfiguration
impl PartialEq for NodeFabricLogPublishingConfiguration
source§fn eq(&self, other: &NodeFabricLogPublishingConfiguration) -> bool
fn eq(&self, other: &NodeFabricLogPublishingConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.