Function constellation::logging::log_entry

source ยท
fn log_entry(record: &Record<'_>) -> Option<LogEntry>
Expand description

Rust uses Record for storing logging, but servo converts that to a LogEntry. We do this so that we can record panics as well as log messages, and because Record does not implement serde (de)serialization, so cannot be used over an IPC channel.