public class LogUtils extends Object
Constructor and Description |
---|
LogUtils() |
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.IOException
Copyright © 2011–2015. All rights reserved.