28 lines
533 B
C#
28 lines
533 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Taloyhtio.CondoUpdate.Common
|
|
{
|
|
public enum LogLevel
|
|
{
|
|
Info = 0,
|
|
Warn = 1,
|
|
Error = 2
|
|
}
|
|
|
|
public class LogEventArgs : EventArgs
|
|
{
|
|
public LogLevel LogLevel { get; set; }
|
|
public string Message { get; set; }
|
|
}
|
|
|
|
public interface ICondoUpdater
|
|
{
|
|
event EventHandler<LogEventArgs> OnNotify;
|
|
void Update(object args);
|
|
}
|
|
}
|