high
lit
Sign in
Explain your code
Code Explainers
Code explainers tagged
#file-streaming
ruby
module
LogParser
class
AccessLogStreamer
SEVERITY_PATTERN
=
/\b(ERROR|WARN|FATAL)\b/
Streaming log lines with a Ruby enumerator
enumerators
lazy-iteration
regex-matching
Intermediate
6 steps