Package services.gui
Class LogFileReader
- java.lang.Object
-
- services.gui.LogFileReader
-
@Singleton public class LogFileReader extends java.lang.ObjectClass responsible for reading JATOS log files. It's not part of utils.common.IOUtils because it uses Akka Streams.
-
-
Constructor Summary
Constructors Constructor Description LogFileReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description akka.stream.javadsl.Source<akka.util.ByteString,?>read(java.lang.String filename, int lineLimit)Reads from the logs folder the given log file in reverse order and returns it as Akka Stream source.
-