public class LogLine extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
afterDate(Date date)
find out if this log file line is after the given date
|
boolean |
beforeDate(Date date)
find out if this log file line is before the given date
|
String |
getAction()
get the action being performed
|
Date |
getDate()
get the date of the log line
|
String |
getLevel()
get the level of this log line
|
String |
getParams()
get the parameters associated with the action
|
String |
getUser()
get the user performing the logged action
|
boolean |
isAction(String action)
find out if the log line is of the given action.
|
boolean |
isLevel(String level)
find out if the log line is of the given level.
|
public Date getDate()
public String getLevel()
public String getUser()
public String getAction()
public String getParams()
public boolean beforeDate(Date date)
date - the date to be compared topublic boolean afterDate(Date date)
date - the date to be compared topublic boolean isLevel(String level)
level - the level we want to test forpublic boolean isAction(String action)
action - the action we want to test forCopyright © 2022 LYRASIS. All rights reserved.