diff --git a/README.md b/README.md index 2ededa3..3998bf2 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,14 @@ iex> RingLogger.tail :ok ``` +You can also `grep`: + +```elixir +iex> RingLogger.grep(~r/[Nn]eedle/) + +16:55:41.614 [info] Needle in a haystack +``` + ## Programmatic usage It can be useful to get a snapshot of the log when an unexpected event occurs.