add openhack files

This commit is contained in:
Ryan Peters
2022-11-03 16:41:13 -04:00
commit b2c9f7e29f
920 changed files with 118861 additions and 0 deletions

View File

@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace DeviceSim.Interfaces
{
public interface ILogger
{
void WriteMessage(LogLevel level, string message);
void Report(Exception exception, LogCategory category);
}
public enum LogLevel
{
CRITICAL = 0,
ERROR = 1,
WARNING = 2,
INFO = 3,
VERBOSE = 4
}
public enum LogCategory
{
CONFIGERROR = 0,
SQLERROR = 1 ,
APIERROR =2
}
}