本文整理汇总了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));
}
示例2: ValidateTaskUpdateRequestAttribute
public ValidateTaskUpdateRequestAttribute(ILogManager logManager)
{
_log = logManager.GetLog(typeof (ValidateTaskUpdateRequestAttribute));
}
示例3: SimpleTraceWriter
public SimpleTraceWriter(ILogManager logManager)
{
log = logManager.GetLog(typeof(SimpleTraceWriter));
}
示例4: SimpleExceptionLogger
public SimpleExceptionLogger(ILogManager logManager)
{
log = logManager.GetLog(typeof(SimpleExceptionLogger));
}
示例5: TaskDataSecurityMessageHandler
public TaskDataSecurityMessageHandler(ILogManager logManager, IUserSession userSession)
{
_userSession = userSession;
_log = logManager.GetLog(typeof(TaskDataSecurityMessageHandler));
}
示例6: UserAuditAttribute
public UserAuditAttribute(ILogManager logManager, IUserSession userSession)
{
_userSession = userSession;
_log = logManager.GetLog(typeof(UserAuditAttribute));
}
示例7: PagedDataRequestFactory
public PagedDataRequestFactory(ILogManager logManager)
{
_log = logManager.GetLog(typeof(PagedDataRequestFactory));
}
示例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));
}
示例9: LegacyAuthenticationMessageHandler
public LegacyAuthenticationMessageHandler(ILogManager logManager)
{
_log = logManager.GetLog(typeof (LegacyAuthenticationMessageHandler));
}