sharee.bike-App/TINKLib/Model/Logging/ILoggingDirectoryManager.cs

22 lines
592 B
C#
Raw Normal View History

2021-05-13 20:03:07 +02:00
using System.Collections.Generic;
namespace TINK.Model.Logging
{
2022-09-06 16:08:19 +02:00
public interface ILoggingDirectoryManager
{
/// <summary> Deletes files which are out of retainment scope. </summary>
void DeleteObsoleteLogs();
2021-05-13 20:03:07 +02:00
2022-09-06 16:08:19 +02:00
/// <summary> Gets the log file name. </summary>
string LogFileName { get; }
2021-05-13 20:03:07 +02:00
2022-09-06 16:08:19 +02:00
/// <summary> Gets all log files in logging directory. </summary>
/// <returns>List of log files.</returns>
IList<string> GetLogFiles();
2021-05-13 20:03:07 +02:00
2022-09-06 16:08:19 +02:00
/// <summary> Gets path where log files are located. </summary>
/// <returns>Path to log files.</returns>
string LogFilePath { get; }
}
2021-05-13 20:03:07 +02:00
}