Klasse TailerOptions
java.lang.Object
org.apache.sling.commons.log.logback.webconsole.TailerOptions
Encapsulates the options for tailing a log file
-
Konstruktordetails
-
TailerOptions
Constructor- Parameter:
numOfLines
- the number of lines to include (or a negative number for all)regex
- pattern used to filter line. If null or "*" then all lines would be included. Regex can be simple string also. In that case search would be done in a case insensitive way
-
-
Methodendetails
-
tailAll
public boolean tailAll()Returns if all lines should be included- Gibt zurück:
- true to tail all lines or false otherwise
-
getNumOfLines
public int getNumOfLines()Get the number of lines to include- Gibt zurück:
- the number of lines to include (or a negative number for all)
-
getRegex
Gets the pattern to match- Gibt zurück:
- pattern used to filter line. If null or "*" then all lines would be included. Regex can be simple string also. In that case search would be done in a case insensitive way
-