LogEntry
- typeLogEntry
Entry to log to file/mqtt.
- functionas_path_hops(entry_ptr: LogEntry, msg: BmpMsg) LogEntry
Log the number of AS_PATH hops for the given message.
- functionconventional_reach(entry_ptr: LogEntry, msg: BmpMsg) LogEntry
Log the number of conventional announcements for the given message.
- functionconventional_unreach(entry_ptr: LogEntry, msg: BmpMsg) LogEntry
Log the number of conventional withdrawals for the given message.
- functioncustom(entry_ptr: LogEntry, custom_msg: String)
Log a custom message based on the given string.
By setting a custom message for a
LogEntry, all other fields are ignored when the entry is written to the output. Combining the custom message with the built-in fields is currently not possible.
- functionlog_all(entry_ptr: LogEntry, msg: BmpMsg) LogEntry
Log all the built-in features for the given message.
- functionmp_reach(entry_ptr: LogEntry, msg: BmpMsg) LogEntry
Log the number of MultiProtocol announcements for the given message.
- functionmp_unreach(entry_ptr: LogEntry, msg: BmpMsg) LogEntry
Log the number of MultiProtocol withdrawals for the given message.