Struct grok::Grok [] [src]

pub struct Grok { /* fields omitted */ }

The basic structure to manage patterns, entry point for common usage.

Methods

impl Grok
[src]

[src]

Creates a new Grok instance with no patterns.

[src]

Creates a new Grok instance and loads all the default patterns.

[src]

Inserts a custom pattern.

[src]

Compiles the given pattern, making it ready for matching.

Trait Implementations

impl Debug for Grok
[src]

[src]

Formats the value using the given formatter.

impl Default for Grok
[src]

[src]

Returns the "default value" for a type. Read more