using System;
using QC.CTDS.DM.DataStructures;

namespace QC.CTDS.DM.ServicePlugins.CommandLineService;

public class ConsoleLogger : ILogger
{
	public void WriteLog(string message, LogType logType)
	{
		switch (logType)
		{
		case LogType.Warning:
		case LogType.Verbose:
		case LogType.Status:
			Console.WriteLine(message);
			break;
		case LogType.Error:
			Console.Error.WriteLine(message);
			break;
		}
	}
}
