protected virtual void ConfigureAggregateLogger(IAggregateLogger aggregateLogger, IContainerProvider container)
 {
     if (!aggregateLogger.Loggers.Any())
     {
         aggregateLogger.AddLogger(container.Resolve <ConsoleLoggingService>());
     }
 }
Пример #2
0
 protected override void ConfigureAggregateLogger(IAggregateLogger aggregateLogger, IContainerProvider container)
 {
     base.ConfigureAggregateLogger(aggregateLogger, container);
     aggregateLogger.AddLogger(new PrismConsoleLogger());
 }