Projektdateien hinzufügen.
This commit is contained in:
17
ECM.JobRunner.Web/Data/LoggingService.cs
Normal file
17
ECM.JobRunner.Web/Data/LoggingService.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using DigitalData.Modules.Logging;
|
||||
|
||||
namespace ECM.JobRunner.Web.Data
|
||||
{
|
||||
public class LoggingService
|
||||
{
|
||||
public LogConfig LogConfig { get; set; }
|
||||
|
||||
public LoggingService(IConfiguration Config)
|
||||
{
|
||||
LogConfig = new LogConfig(LogConfig.PathType.CustomPath, Config["Config:LogPath"], null, "Digital Data", "ECM.JobRunner.Web")
|
||||
{
|
||||
Debug = bool.Parse(Config["Config:LogDebug"])
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user