/// <summary>
 /// All messages will have appropriate prefix . "Fatal: ", "Error: ","Warn: ","Trace: ","Debug: ","Info: "
 /// </summary>
 /// <param name="log"></param>
 /// <param name="name"></param>
 public LoggerWrapper(ILogMethods log, string name)
 {
     infoLog    = new LogMethodsWithPrefix(log.Write, log.Write, log.Write, name, LogLevel.Info);
     debugLog   = new LogMethodsWithPrefix(log.Write, log.Write, log.Write, name, LogLevel.Debug);
     traceLog   = new LogMethodsWithPrefix(log.Write, log.Write, log.Write, name, LogLevel.Trace);
     warningLog = new LogMethodsWithPrefix(log.Write, log.Write, log.Write, name, LogLevel.Warn);
     errorLog   = new LogMethodsWithPrefix(log.Write, log.Write, log.Write, name, LogLevel.Error);
     fatalLog   = new LogMethodsWithPrefix(log.Write, log.Write, log.Write, name, LogLevel.Fatal);
 }
 public LoggerWrapper(ILogMethods fatalLog, ILogMethods errorLog,
                      ILogMethods warningLog, ILogMethods traceLog, ILogMethods debugLog, ILogMethods infoLog)
 {
     this.infoLog    = infoLog ?? EmptyLogMethods.Instance;
     this.debugLog   = debugLog ?? EmptyLogMethods.Instance;
     this.traceLog   = traceLog ?? EmptyLogMethods.Instance;
     this.warningLog = warningLog ?? EmptyLogMethods.Instance;
     this.errorLog   = errorLog ?? EmptyLogMethods.Instance;
     this.fatalLog   = fatalLog ?? EmptyLogMethods.Instance;
 }
 public AdminApi( IAdminProcessMethods process, ISettingsMethods settings, ILogMethods log ) {
     Process = process;
     Settings = settings;
     Log = log;
 }