|
|
@ -205,7 +205,7 @@ fn emit_trace(
|
|
|
|
location: Option<&str>,
|
|
|
|
location: Option<&str>,
|
|
|
|
file: Option<&str>,
|
|
|
|
file: Option<&str>,
|
|
|
|
line: Option<u32>,
|
|
|
|
line: Option<u32>,
|
|
|
|
key_values: &HashMap<&str, &str>,
|
|
|
|
kv: &HashMap<&str, &str>,
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
macro_rules! emit_event {
|
|
|
|
macro_rules! emit_event {
|
|
|
|
($level:expr) => {
|
|
|
|
($level:expr) => {
|
|
|
@ -216,7 +216,7 @@ fn emit_trace(
|
|
|
|
location = location,
|
|
|
|
location = location,
|
|
|
|
file,
|
|
|
|
file,
|
|
|
|
line,
|
|
|
|
line,
|
|
|
|
?key_values
|
|
|
|
?kv
|
|
|
|
)
|
|
|
|
)
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|