Enhance AIImages mod by adding debug logging functionality to various components, improving troubleshooting capabilities. Introduce a new setting to enable or disable debug logs in the UI, with localized strings in English and Russian. Update StableDiffusionNet.Core dependency to version 1.1.5. Update AIImages.dll to reflect these changes.

This commit is contained in:
Leonid Pershin
2025-10-28 19:01:38 +03:00
parent 0bdcd3036a
commit beb1e2b2fc
14 changed files with 385 additions and 52 deletions

View File

@@ -49,6 +49,7 @@ namespace AIImages.Settings
public bool showTechnicalInfo = true;
public bool saveGenerationHistory = true;
public bool saveImagesToServer = false;
public bool enableDebugLogs = false;
public override void ExposeData()
{
@@ -78,6 +79,7 @@ namespace AIImages.Settings
Scribe_Values.Look(ref showTechnicalInfo, "showTechnicalInfo", true);
Scribe_Values.Look(ref saveGenerationHistory, "saveGenerationHistory", true);
Scribe_Values.Look(ref saveImagesToServer, "saveImagesToServer", false);
Scribe_Values.Look(ref enableDebugLogs, "enableDebugLogs", false);
base.ExposeData();
}