Package org.elasticsearch.common.logging
Class JsonLogsStream
java.lang.Object
org.elasticsearch.common.logging.JsonLogsStream
Returns a stream of json log lines.
This is intended to be used for easy and readable assertions for logger tests
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stream<JsonLogLine>
from
(BufferedReader reader) static Stream<JsonLogLine>
mapStreamFrom
(Path path)
-
Method Details
-
from
- Throws:
IOException
-
from
- Throws:
IOException
-
mapStreamFrom
- Throws:
IOException
-