25 lines
625 B
C#
25 lines
625 B
C#
using AyCode.Core.Enums;
|
|
using AyCode.Core.Loggers;
|
|
using AyCode.Database;
|
|
using AyCode.Database.DbContexts.Loggers;
|
|
using AyCode.Entities.Server.LogItems;
|
|
|
|
namespace TIAM.Database;
|
|
|
|
public class LoggerDbContextBase : AcLoggerDbContextBase<AcLogItem>
|
|
{
|
|
|
|
}
|
|
|
|
public class DbLogItemWriter : AcDbLogItemWriter<LoggerDbContextBase, AcLogItem>
|
|
{
|
|
public DbLogItemWriter() : this(null)
|
|
{ }
|
|
|
|
public DbLogItemWriter(string? categoryName = null) : base(categoryName)
|
|
{ }
|
|
|
|
public DbLogItemWriter(AppType appType, LogLevel logLevel, string? categoryName = null) : base(appType, logLevel, categoryName)
|
|
{
|
|
}
|
|
} |