-
Notifications
You must be signed in to change notification settings - Fork 86
ImplementingAutomaticLogMarker
k.otrebski edited this page Mar 17, 2015
·
2 revisions
The instructions provided describe how to add and implement your log maker (highliter).
To write your filter, you need to:
- Implement the
pl.otros.logview.markers.AutomaticMarker
interface,
Note: The
toMark
method returnstrue
when the condition for theLogData
is fulfilled. ThegetMarkerGroups
method returnsgroups
in pop-up menu of the marked entry. Separate the groups with commas.
- Put your jar in the
./plugins/markers
directory.
public interface AutomaticMarker {
public boolean toMark(LogData data);
public String getName();
public String getDescripion();
public String[] getMarkerGroups();
public MarkerColors getColors();
}
- Introduction
- Installation
- Opening logs
- Log parsers
- Searching for events
- Marking events
- Notes
- Filters
- Log events message detail formatters and colorizers
- Jump to code - Integration with IDE
- Saving and loading log investigation
- HotKeys
- Batch processing
- DevelopingPlugins
- Developing on OtrosLogViewer
- Experimental features
- Limitations
- Video
- Used by
- DonateAndDonors