14 lines
367 B
C#
14 lines
367 B
C#
using Avalonia.Threading;
|
|
using Serilog.Sinks.LogView.Core.Logging;
|
|
|
|
namespace LogViewer.Avalonia.Logging;
|
|
|
|
public class LogDataStore : Serilog.Sinks.LogView.Core.Logging.LogDataStore
|
|
{
|
|
#region Methods
|
|
|
|
public override async void AddEntry(LogModel logModel)
|
|
=> await Dispatcher.UIThread.InvokeAsync(() => base.AddEntry(logModel));
|
|
|
|
#endregion
|
|
} |