protected virtual void CreateLog() { var logProvider = new TestLogProvider(); Ioc.RegisterSingleton <IMvxLogProvider>(logProvider); var globalLog = logProvider.GetLogFor <MvxLog>(); MvxLog.Instance = globalLog; Ioc.RegisterSingleton(globalLog); var pluginLog = logProvider.GetLogFor("MvxPlugin"); }
protected virtual IMvxLogProvider CreateLogProvider() { var logProvider = new TestLogProvider(_logger); return(logProvider); }