pub trait LoggingPlugin: Send + Sync {
// Required methods
fn log(
&self,
level: LogLevel,
participant: [u8; 16],
category: &str,
message: &str,
);
fn plugin_class_id(&self) -> &str;
}Expand description
Logging-Plugin (Spec §8.6.2.1).
Required Methods§
Sourcefn log(
&self,
level: LogLevel,
participant: [u8; 16],
category: &str,
message: &str,
)
fn log( &self, level: LogLevel, participant: [u8; 16], category: &str, message: &str, )
Ein Security-Event loggen.
Spec §8.6.2.1.1 log. participant identifiziert den betroffenen
Teilnehmer (GUID-bytes, 16 octets). category ist ein
plugin-spezifischer String (“auth.handshake.failed” etc.).
Sourcefn plugin_class_id(&self) -> &str
fn plugin_class_id(&self) -> &str
Plugin-Class-Id (z.B. “DDS:Logging:DDS_LogTopic” fuer den Spec-vorgesehenen LogTopic-Dispatch).
Implementors§
impl LoggingPlugin for MockLoggingPlugin
Available on crate feature
std only.