Table of Contents

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

criteria string

Text that the message must contain. When null, empty or white space, no filter is applied.

skip int

The number of messages to skip.

take int

The maximum number of messages to read.

Returns

List<LogMessage>

The matching log messages.

RemoveAll()

Removes all the stored log messages.

void RemoveAll()