Function tikv_util::logger::formatter::need_json_encode[][src]

fn need_json_encode(bytes: &[u8]) -> bool

According to RFC: Unified Log Format, it returns true when this byte stream contains the following characters, which means this input stream needs to be JSON encoded. Otherwise, it returns false.