consolidate Infrastructure interface and implementation classes
This commit is contained in:
@ -12,6 +12,15 @@ using Oqtane.Shared;
|
||||
|
||||
namespace Oqtane.Infrastructure
|
||||
{
|
||||
public interface ILogManager
|
||||
{
|
||||
void Log(Shared.LogLevel level, object @class, LogFunction function, string message, params object[] args);
|
||||
void Log(Shared.LogLevel level, object @class, LogFunction function, Exception exception, string message, params object[] args);
|
||||
void Log(int siteId, Shared.LogLevel level, object @class, LogFunction function, string message, params object[] args);
|
||||
void Log(int siteId, Shared.LogLevel level, object @class, LogFunction function, Exception exception, string message, params object[] args);
|
||||
void Log(Log log);
|
||||
}
|
||||
|
||||
public class LogManager : ILogManager
|
||||
{
|
||||
private readonly ILogRepository _logs;
|
||||
|
Reference in New Issue
Block a user