pub fn log_group(&self, log_line: &str) -> Option<&LogCluster> {
        let processed_line = self
            .apply_overall_pattern(log_line)
            .unwrap_or_else(|| log_line.to_string());
        let tokens = DrainTree::process(&self.filter_patterns, processed_line);
        self.log_group_for_tokens(tokens.as_slice())
    }
/// Grab the log group for the given log line if it exists.
/// This does NOT modify the underlying tree.
/// ```
/// let drain = drain_rs::DrainTree::new();
/// assert!(drain.log_group("[Sun Dec 04 04:51:08 2005] [notice] jk2_init() Found child 6725 in scoreboard slot 10").is_none());
///  ```
Grab the log group for the given log line if it exists.
This does NOT modify the underlying tree.
Grab the log group for the given log line if it exists . This does NOT modify the underlying tree .
pub fn log_group(&self, log_line: &str) -> Option<&LogCluster> {
        let processed_line = self
            .apply_overall_pattern(log_line)
            .unwrap_or_else(|| log_line.to_string());
        let tokens = DrainTree::process(&self.filter_patterns, processed_line);
        self.log_group_for_tokens(tokens.as_slice())
    }
pub fn log_group ( & self , log_line : & str ) -> Option < & LogCluster > { let processed_line = self . apply_overall_pattern ( log_line ) . unwrap_or_else ( | | log_line . to_string ( ) ) ; let tokens = DrainTree :: process ( & self . filter_patterns , processed_line ) ; self . log_group_for_tokens ( tokens . as_slice ( ) ) }
Grab the log group for the given log line if it exists.
Grab the log group for the given log line if it exists .
&self
log_line
&str
&self
log_line
&str