|
|
@ -76,8 +76,8 @@ pub fn parse_log(raw: &Vec<u8>) -> Result<Value> {
|
|
|
|
return Err("text_chunk size too small".into());
|
|
|
|
return Err("text_chunk size too small".into());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
let text: String = String::from_utf8_lossy(&text_chunk).into();
|
|
|
|
let mut text: String = String::from_utf8_lossy(&text_chunk).into();
|
|
|
|
let text: String = convert_escaped(&text)?;
|
|
|
|
text = convert_escaped(&text)?;
|
|
|
|
|
|
|
|
|
|
|
|
for line in text.lines() {
|
|
|
|
for line in text.lines() {
|
|
|
|
let mut map: Map<String, Value> = Map::new();
|
|
|
|
let mut map: Map<String, Value> = Map::new();
|
|
|
|