I am having an ILogger interface and Logger class(which is singleton) implements ILogger interface. I wanted to register this dependency using unity container. Could you please help me out.
public class Logger: ILogger
{
private static readonly Lazy<Logger> instance = new Lazy<Logger>(()=> new Logger());
public static Logger Instance{get{return instance.Value;}}
private Logger(){}
public void LogEvent(){}
}