public void LogDebug(LoggingTypeModel.LogCategory logCategory, string message) { if (!LoggingLevelEnabled.Decide(LoggingLevel).Debug) { return; } _logger.Write("DEBUG", logCategory, message, DateTime.Now); }
public void LogError(LoggingTypeModel.LogCategory logCategory, string message) { if (!LoggingLevelEnabled.Decide(LoggingLevel).Error) { return; } _logger.Write("ERROR", logCategory, message, DateTime.Now); }
public void LogInfo(LoggingTypeModel.LogCategory logCategory, string message) { if (!LoggingLevelEnabled.Decide(LoggingLevel).Info) { return; } _logger.Write("INFO", logCategory, message, DateTime.Now); }
public void LogInfo(LoggingTypeModel.LogCategory logCategory, Exception exception) { if (!LoggingLevelEnabled.Decide(LoggingLevel).Info) { return; } _logger.WriteToErrorLog("INFO", logCategory, GenerateError.GetException(exception), DateTime.Now); }
public void LogDebug(LoggingTypeModel.LogCategory logCategory, Exception exception) { if (!LoggingLevelEnabled.Decide(LoggingLevel).Debug) { return; } _logger.Write("DEBUG", logCategory, GenerateError.GetException(exception), DateTime.Now); }
public void LogInfo(LoggingTypeModel.LogCategory logCategory, string message) { if (!LoggingLevelEnabled.Decide(LoggingLevel).Info) { return; } _logger.Write("INFO", logCategory, AllowedCharacters.Replace(message), DateTime.Now); }
public void LogDebug(LoggingTypeModel.LogCategory logCategory, string message) { if (!LoggingLevelEnabled.Decide(LoggingLevel).Debug) { return; } _logger.WriteToErrorLog("DEBUG", logCategory, AllowedCharacters.Replace(message), DateTime.Now); }
public void LogDebug(LoggingTypeModel.LogCategory logCategory, string message) { CheckArchive(); if (!LoggingLevelEnabled.Decide(LoggingLevel).Debug) { return; } SetupLogLocation(); _loggingFile.WriteToErrorLog("DEBUG", logCategory, message, DateTime.Now); }
public void LogDebug(LoggingTypeModel.LogCategory logCategory, Exception exception) { CheckArchive(); if (!LoggingLevelEnabled.Decide(LoggingLevel).Debug) { return; } SetupLogLocation(); _loggingFile.WriteToErrorLog("DEBUG", logCategory, GenerateError.GetException(exception), DateTime.Now); }
public void LogInfo(LoggingTypeModel.LogCategory logCategory, string message) { CheckArchive(); if (!LoggingLevelEnabled.Decide(LoggingLevel).Info) { return; } SetupLogLocation(); _loggingFile.Write("INFO", logCategory, message, DateTime.Now); }