Fix gestione allegati e creato metodo di esportazione log
This commit is contained in:
1 parent
3760e38c8d
commit
2d938fb210
26 files changed
+986
-384
No files matched your search
@@ -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() { }
|
||||
}
|
||||
Reference in new issue
Block a user