Log
- typeLog
Machinery to create output entries.
- functionentry(stream: Log) LogEntry
Get the current/new entry.
A
LogEntryis only written to the output if [write_entry] is called on it after populating its fields.
- functionlog_custom(stream: Log, id: u32, local: u32)
Log a custom entry in forms of a tuple (NB: this method will likely be removed).
- functionlog_matched_asn(stream: Log, asn: Asn)
Log the given ASN (NB: this method will likely be removed).
- functionlog_matched_community(stream: Log, community: Community)
Log the given community (NB: this method will likely be removed).
- functionlog_matched_origin(stream: Log, origin: Asn)
Log the given ASN as origin (NB: this method will likely be removed).
- functionlog_prefix(stream: Log, prefix: Prefix)
Log the given prefix (NB: this method will likely be removed).