public ResponseLogger(string logConfigurationFilePath, int loggerID) { string logFilePath = Path.Combine(Path.GetDirectoryName(logConfigurationFilePath), $"response_log_{loggerID}.log"); logThread = new LogThread(logFilePath, new LoggerConfiguration(logConfigurationFilePath)); LogConfiguration = new LogConfiguration(typeof(object)) { ComponentType = ComponentType.Undefined, ClassName = string.Empty, }; }
public EmailLogger(string logConfigurationFilePath, int loggerID) { string logFilePath = Path.Combine(Path.GetDirectoryName(logConfigurationFilePath), $"email_log_{loggerID}.log"); logThread = new LogThread(logFilePath, new LoggerConfiguration(logConfigurationFilePath)); }