コード例 #1
0
        public virtual void WireFrameworkLogger()
        {
            if (traceWriter != null)
            {
                var isEnabled = Global.FrameworkLogger.IsEnabled;
                Global.FrameworkLogger           = Services.Get <ILiaraLogWriter>(traceWriter.GetType().Name);
                Global.FrameworkLogger.IsEnabled = isEnabled;
            }

            isFrameworkLoggerWired = true;
        }