public class LogUtils extends Object
| Constructor and Description | 
|---|
LogUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static InputStream | 
streamFile(File file,
          long offset)
Open a stream to a file. 
 | 
public static InputStream streamFile(File file, long offset) throws IOException
offset - If zero, stream the entire log. If positive, read from this byte position onwards. If negative,
               read this many bytes from the end of the file.IOExceptionCopyright © 2011–2018. All rights reserved.