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


C# ILogManager.GetLog方法代码示例

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


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

示例1: BasicAuthenticationMessageHandler

 public BasicAuthenticationMessageHandler(
     ILogManager logManager, 
     IBasicSecurityService basicSecurityService)
 {
     _basicServiceService = basicSecurityService;
     _log = logManager.GetLog(typeof (BasicAuthenticationMessageHandler));
 }
开发者ID:camjm,项目名称:BeyondEarthApp,代码行数:7,代码来源:BasicAuthenticationMessageHandler.cs

示例2: ValidateTaskUpdateRequestAttribute

 public ValidateTaskUpdateRequestAttribute(ILogManager logManager)
 {
     _log = logManager.GetLog(typeof (ValidateTaskUpdateRequestAttribute));
 }
开发者ID:BWortman,项目名称:JamieBook2,代码行数:4,代码来源:ValidateTaskUpdateRequestAttribute.cs

示例3: SimpleTraceWriter

 public SimpleTraceWriter(ILogManager logManager)
 {
     log = logManager.GetLog(typeof(SimpleTraceWriter));
 }
开发者ID:srihari-sridharan,项目名称:Programming-Playground,代码行数:4,代码来源:SimpleTraceWriter.cs

示例4: SimpleExceptionLogger

 public SimpleExceptionLogger(ILogManager logManager)
 {
     log = logManager.GetLog(typeof(SimpleExceptionLogger));
 }
开发者ID:srihari-sridharan,项目名称:Programming-Playground,代码行数:4,代码来源:SimpleExceptionLogger.cs

示例5: TaskDataSecurityMessageHandler

 public TaskDataSecurityMessageHandler(ILogManager logManager, IUserSession userSession)
 {
     _userSession = userSession;
     _log = logManager.GetLog(typeof(TaskDataSecurityMessageHandler));
 }
开发者ID:ZiTsi,项目名称:TaskManager,代码行数:5,代码来源:TaskDataSecurityMessageHandler.cs

示例6: UserAuditAttribute

 public UserAuditAttribute(ILogManager logManager, IUserSession userSession)
 {
     _userSession = userSession;
     _log = logManager.GetLog(typeof(UserAuditAttribute));
 }
开发者ID:sanghyukp,项目名称:AngularJSWebAPI2,代码行数:5,代码来源:UserAuditAttribute.cs

示例7: PagedDataRequestFactory

 public PagedDataRequestFactory(ILogManager logManager)
 {
     _log = logManager.GetLog(typeof(PagedDataRequestFactory));
 }
开发者ID:SHassona,项目名称:Personal-Repository,代码行数:4,代码来源:PagedDataRequestFactory.cs

示例8: BasicSecurityService

 /// <summary>
 /// ISession cannot be constructor-injected because this constructor is called in the application start-up before ISession has been prepared, not in response to a web request
 /// </summary>
 public BasicSecurityService(ILogManager logManager)
 {
     _log = logManager.GetLog(typeof(BasicSecurityService));
 }
开发者ID:camjm,项目名称:BeyondEarthApp,代码行数:7,代码来源:BasicSecurityService.cs

示例9: LegacyAuthenticationMessageHandler

 public LegacyAuthenticationMessageHandler(ILogManager logManager)
 {
     _log = logManager.GetLog(typeof (LegacyAuthenticationMessageHandler));
 }
开发者ID:BWortman,项目名称:JamieBook2,代码行数:4,代码来源:LegacyAuthenticationMessageHandler.cs


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