Interface ILogStore
- Namespace
- Arc4u.Diagnostics.Serilog.Sinks
- Assembly
- Arc4u.Diagnostics.Serilog.Sinks.RealmDb.dll
Represents a store of log messages that can be queried and cleared, for example to display the logs of an application.
public interface ILogStore
Methods
GetLogs(string, int, int)
Gets a page of the stored log messages.
List<LogMessage> GetLogs(string criteria, int skip, int take)
Parameters
criteriastringText that the message must contain. When null, empty or white space, no filter is applied.
skipintThe number of messages to skip.
takeintThe maximum number of messages to read.
Returns
- List<LogMessage>
The matching log messages.
RemoveAll()
Removes all the stored log messages.
void RemoveAll()