public interface ApplicationLogService
Having a message here would mean that something is defective in the application or in its configuration.
Modifier and Type | Method and Description |
---|---|
void |
cleanup(int retentionDays)
Removes all entries which are older than x days
|
void |
deleteLogEntries()
Deletes all log entries
|
java.util.List<ApplicationLogEntry> |
getLogEntries(ApplicationLogEntryFilter filter,
net.nemerosa.ontrack.model.support.Page page)
List of messages
|
int |
getLogEntriesTotal()
Total list of messages
|
void |
log(ApplicationLogEntry entry)
Logs an entry
|
int getLogEntriesTotal()
java.util.List<ApplicationLogEntry> getLogEntries(ApplicationLogEntryFilter filter, net.nemerosa.ontrack.model.support.Page page)
filter
- Filter to usepage
- Pagination instructionsvoid log(ApplicationLogEntry entry)
entry
- Entry to logvoid cleanup(int retentionDays)
retentionDays
- Number of days to retain log entriesvoid deleteLogEntries()