Fix gestione allegati e creato metodo di esportazione log

This commit is contained in:
2026-03-04 11:51:42 +01:00
parent 3760e38c8d
commit 2d938fb210
26 changed files with 986 additions and 384 deletions

View File

@@ -0,0 +1,14 @@
using Microsoft.Extensions.Logging;
namespace SteUp.Maui.Core.Logger;
public class FileLoggerProvider(string path, string logFilePrefix, int retentionDays = 60)
: ILoggerProvider
{
public ILogger CreateLogger(string categoryName)
{
return new FileLogger(path, logFilePrefix, categoryName, retentionDays);
}
public void Dispose() { }
}