Files
2026-03-17 08:54:34 -05:00

33 lines
762 B
C#

using Blazored.Toast.Services;
using Microsoft.AspNetCore.Components;
using Serilog;
namespace ReserveManagementSystemUI.Pages
{
public partial class Test
{
[Inject]
IToastService ToastService { get; set; }
private void TestSeqError()
{
Log.Error("Test error logging from RMS");
ToastService.ShowSuccess("Logged Error");
}
private void TestSeqInfo()
{
Log.Information("Test information logging from RMS");
ToastService.ShowSuccess("Logged Information");
}
private void TestSeqWarn()
{
Log.Warning("Test warning logging from RMS");
ToastService.ShowSuccess("Logged Warning");
}
}
}