Skip to main content

parse_bytes_with_encoding

Function parse_bytes_with_encoding 

Source
pub fn parse_bytes_with_encoding(
    line: &[u8],
    encoding: FileEncodingHint,
) -> Result<LogEvent, ParseError>
Expand description

按指定编码自动识别并解析一条字节记录。