Added checking for updates
This commit is contained in:
parent
cc15863e81
commit
5ec6525257
19 changed files with 1231 additions and 100 deletions
16
Services/ILogger.cs
Normal file
16
Services/ILogger.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
namespace MossyUpdater.Services
|
||||
{
|
||||
public interface ILogger
|
||||
{
|
||||
Task LogInfoAsync(string message);
|
||||
Task LogWarningAsync(string message);
|
||||
Task LogErrorAsync(string message, Exception? exception = null);
|
||||
}
|
||||
|
||||
public enum LogLevel
|
||||
{
|
||||
Info,
|
||||
Warning,
|
||||
Error
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue