structured logging
This commit is contained in:
14
Oqtane.Client/Services/Interfaces/ILogService.cs
Normal file
14
Oqtane.Client/Services/Interfaces/ILogService.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using Oqtane.Models;
|
||||
using Oqtane.Shared;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Oqtane.Services
|
||||
{
|
||||
public interface ILogService
|
||||
{
|
||||
Task<List<Log>> GetLogsAsync(int SiteId);
|
||||
Task Log(int? PageId, int? ModuleId, int? UserId, string component, LogLevel level, Exception exception, string message, params object[] args);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user