当前位置: 首页>>代码示例>>C#>>正文


C# ILogProvider.GetLogger方法代码示例

本文整理汇总了C#中ILogProvider.GetLogger方法的典型用法代码示例。如果您正苦于以下问题:C# ILogProvider.GetLogger方法的具体用法?C# ILogProvider.GetLogger怎么用?C# ILogProvider.GetLogger使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ILogProvider的用法示例。


在下文中一共展示了ILogProvider.GetLogger方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: ProcessingEngine

 public ProcessingEngine(
     IPluginsContainer<ICommandImplementation> commandRepository,
     IPluginsContainer<ICommandObserver> commandObservers,
     ILogProvider logProvider,
     IPersistenceTransaction persistenceTransaction,
     IAuthorizationManager authorizationManager,
     XmlUtility xmlUtility,
     IUserInfo userInfo,
     ISqlUtility sqlUtility,
     ILocalizer localizer)
 {
     _commandRepository = commandRepository;
     _commandObservers = commandObservers;
     _logger = logProvider.GetLogger("ProcessingEngine");
     _performanceLogger = logProvider.GetLogger("Performance");
     _requestLogger = logProvider.GetLogger("ProcessingEngine Request");
     _commandsLogger = logProvider.GetLogger("ProcessingEngine Commands");
     _commandsResultLogger = logProvider.GetLogger("ProcessingEngine CommandsResult");
     _persistenceTransaction = persistenceTransaction;
     _authorizationManager = authorizationManager;
     _xmlUtility = xmlUtility;
     _userInfo = userInfo;
     _sqlUtility = sqlUtility;
     _localizer = localizer;
 }
开发者ID:davorpr1,项目名称:Rhetos,代码行数:25,代码来源:ProcessingEngine.cs

示例2: MsSqlExecuter

 public MsSqlExecuter(ConnectionString connectionString, ILogProvider logProvider, IUserInfo userInfo)
 {
     _connectionString = connectionString;
     _userInfo = userInfo;
     _logger = logProvider.GetLogger("MsSqlExecuter");
     _performanceLogger = logProvider.GetLogger("Performance");
 }
开发者ID:kmeze,项目名称:Rhetos,代码行数:7,代码来源:MsSqlExecuter.cs

示例3: DataMigration

 public DataMigration(ISqlExecuter sqlExecuter, ILogProvider logProvider, IInstalledPackages installedPackages)
 {
     _sqlExecuter = sqlExecuter;
     _logger = logProvider.GetLogger("DataMigration");
     _deployPackagesLogger = logProvider.GetLogger("DeployPackages");
     _installedPackages = installedPackages;
 }
开发者ID:tjakopovic,项目名称:Rhetos,代码行数:7,代码来源:DataMigration.cs

示例4: DslModel

 public DslModel(IDslParser dslParser, ILogProvider logProvider)
 {
     _dslParser = dslParser;
     _performanceLogger = logProvider.GetLogger("Performance");
     _logger = logProvider.GetLogger("DslModel");
     _dslContainer = new DslContainer(logProvider);
 }
开发者ID:koav,项目名称:Rhetos,代码行数:7,代码来源:DslModel.cs

示例5: DslParser

 public DslParser(IDslSource dslSource, IConceptInfo[] conceptInfoPlugins, ILogProvider logProvider)
 {
     _dslSource = dslSource;
     _conceptInfoPlugins = conceptInfoPlugins;
     _performanceLogger = logProvider.GetLogger("Performance");
     _logger = logProvider.GetLogger("DslParser");
 }
开发者ID:koav,项目名称:Rhetos,代码行数:7,代码来源:DslParser.cs

示例6: DomLoader

 public DomLoader(
     string assemblyName,
     ILogProvider logProvider)
 {
     _assemblyName = assemblyName;
     _logger = logProvider.GetLogger("DomLoader");
     _performanceLogger = logProvider.GetLogger("Performance");
 }
开发者ID:koav,项目名称:Rhetos,代码行数:8,代码来源:DomLoader.cs

示例7: MsSqlExecuter

 /// <summary>
 /// This constructor is typically used in run-time, when persistence transaction is active, in order to execute
 /// the SQL queries in the same transaction.
 /// </summary>
 public MsSqlExecuter(ConnectionString connectionString, ILogProvider logProvider, IUserInfo userInfo, IPersistenceTransaction persistenceTransaction)
 {
     _connectionString = connectionString;
     _userInfo = userInfo;
     _logger = logProvider.GetLogger("MsSqlExecuter");
     _performanceLogger = logProvider.GetLogger("Performance");
     _persistenceTransaction = persistenceTransaction;
 }
开发者ID:tjakopovic,项目名称:Rhetos,代码行数:12,代码来源:MsSqlExecuter.cs

示例8: DslParser

 public DslParser(Tokenizer tokenizer, IConceptInfo[] conceptInfoPlugins, ILogProvider logProvider)
 {
     _tokenizer = tokenizer;
     _conceptInfoPlugins = conceptInfoPlugins;
     _performanceLogger = logProvider.GetLogger("Performance");
     _logger = logProvider.GetLogger("DslParser");
     _keywordsLogger = logProvider.GetLogger("DslParser.Keywords");
 }
开发者ID:tjakopovic,项目名称:Rhetos,代码行数:8,代码来源:DslParser.cs

示例9: DataMigration

 public DataMigration(ISqlExecuter sqlExecuter, ILogProvider logProvider, IDataMigrationScriptsProvider scriptsProvider, IConfiguration configuration)
 {
     _sqlExecuter = sqlExecuter;
     _logger = logProvider.GetLogger("DataMigration");
     _deployPackagesLogger = logProvider.GetLogger("DeployPackages");
     _scriptsProvider = scriptsProvider;
     _configuration = configuration;
 }
开发者ID:Rhetos,项目名称:Rhetos,代码行数:8,代码来源:DataMigration.cs

示例10: WcfWindowsUserInfo

        public WcfWindowsUserInfo(ILogProvider logProvider, IWindowsSecurity windowsSecurity)
        {
            _logger = logProvider.GetLogger(GetType().Name);
            _performanceLogger = logProvider.GetLogger("Performance");

            _isUserRecognized = new Lazy<bool>(() => InitIsUserRecognized());
            _userName = new Lazy<string>(() => InitUserName());
            _workstation = new Lazy<string>(() => windowsSecurity.GetClientWorkstation());
            _windowsIdentity = new Lazy<WindowsIdentity>(() => InitWindowsIdentity());
        }
开发者ID:tjakopovic,项目名称:Rhetos,代码行数:10,代码来源:WcfWindowsUserInfo.cs

示例11: CaptionsValueProvider

 public CaptionsValueProvider(
     IDslModel dslModel,
     IPluginsContainer<ICaptionsValuePlugin> plugins,
     ILogProvider logProvider)
 {
     _dslModel = dslModel;
     _plugins = plugins;
     _logger = logProvider.GetLogger("CaptionsValueGenerator");
     _performanceLogger = logProvider.GetLogger("Performance");
 }
开发者ID:Rhetos,项目名称:MvcModelGenerator,代码行数:10,代码来源:CaptionsValueGenerator.cs

示例12: WcfWindowsUserInfo

        public WcfWindowsUserInfo(ILogProvider logProvider)
        {
            _logger = logProvider.GetLogger("WcfWindowsUserInfo");
            _performanceLogger = logProvider.GetLogger("Performance");

            _isUserRecognized = new Lazy<bool>(() => InitIsUserRecognized());
            _userName = new Lazy<string>(() => InitUserName());
            _workstation = new Lazy<string>(() => InitClientWorkstation());
            _windowsIdentity = new Lazy<WindowsIdentity>(() => InitWindowsIdentity());
            _accountName = new Lazy<string>(() => InitAccountName());
        }
开发者ID:koav,项目名称:Rhetos,代码行数:11,代码来源:WcfWindowsUserInfo.cs

示例13: CaptionsGenerator

        public CaptionsGenerator(
            IPluginsContainer<ICaptionsGeneratorPlugin> plugins,
            ICodeGenerator codeGenerator,
            ILogProvider logProvider
            )
        {
            _plugins = plugins;
            _codeGenerator = codeGenerator;

            _logger = logProvider.GetLogger("CaptionsGenerator");
            _sourceLogger = logProvider.GetLogger("Mvc Captions source");
        }
开发者ID:GADMarko,项目名称:MvcModelGenerator,代码行数:12,代码来源:CaptionsGenerator.cs

示例14: ClaimGenerator

 public ClaimGenerator(
     IPluginsContainer<IClaimProvider> claimProviders,
     IDslModel dslModel,
     IDomainObjectModel domainObjectModel,
     ILogProvider logProvider,
     IClaimRepository claimRepository)
 {
     _claimProviders = claimProviders;
     _dslModel = dslModel;
     _performanceLogger = logProvider.GetLogger("Performance");
     _logger = logProvider.GetLogger("ClaimGenerator");
     _claimRepository = claimRepository;
 }
开发者ID:koav,项目名称:Rhetos,代码行数:13,代码来源:ClaimGenerator.cs

示例15: ProcessingEngine

 public ProcessingEngine(
     IPluginsContainer<ICommandImplementation> commandRepository,
     IPluginsContainer<ICommandObserver> commandObservers,
     ILogProvider logProvider,
     IPersistenceTransaction persistenceTransaction,
     IAuthorizationManager authorizationManager)
 {
     _commandRepository = commandRepository;
     _commandObservers = commandObservers;
     _logger = logProvider.GetLogger("ProcessingEngine");
     _performanceLogger = logProvider.GetLogger("Performance");
     _persistenceTransaction = persistenceTransaction;
     _authorizationManager = authorizationManager;
 }
开发者ID:koav,项目名称:Rhetos,代码行数:14,代码来源:ProcessingEngine.cs


注:本文中的ILogProvider.GetLogger方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。