This repository has been archived on 2022-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
DevOpsOpenHack/support/simulator/DeviceSim/Interfaces/ILogger.cs

30 lines
522 B
C#
Raw Permalink Normal View History

2022-11-03 20:41:13 +00:00
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
}
}