public ManagedCallbackDebugMessage(CorDebugThread thread, CorDebugAppDomain appDomain, string switchName, string message, LoggingLevelEnum level) : base(thread)
 {
     m_switchName = switchName;
     m_message    = message;
     m_level      = level;
     m_appDomain  = appDomain;
 }
Example #2
0
 public LogMessageDebugCallbackEventArgs(ICorDebugAppDomain?pAppDomain, ICorDebugThread?pThread, LoggingLevelEnum lLevel, string pLogSwitchName, string pMessage)
     : base(pAppDomain)
 {
     AppDomain     = pAppDomain;
     Thread        = pThread;
     Level         = lLevel;
     LowSwitchName = pLogSwitchName;
     Message       = pMessage;
 }
Example #3
0
 public LogSwitchDebugCallbackEventArgs(ICorDebugAppDomain?pAppDomain, ICorDebugThread?pThread, LoggingLevelEnum lLevel, LogSwitchCallReason ulReason, string pLogSwitchName, string pParentName)
     : base(pAppDomain)
 {
     AppDomain     = pAppDomain;
     Thread        = pThread;
     Level         = lLevel;
     Reason        = ulReason;
     LowSwitchName = pLogSwitchName;
     ParentName    = pParentName;
 }
 void ICorDebugManagedCallback.LogSwitch(IntPtr pAppDomain, IntPtr pThread, LoggingLevelEnum lLevel, LogSwitchCallReason ulReason, string pLogSwitchName, string pParentName)
 {
     dbg.OnManagedCallbackFromAnyThread(() => new LogSwitchDebugCallbackEventArgs(I <ICorDebugAppDomain>(pAppDomain), I <ICorDebugThread>(pThread), lLevel, ulReason, pLogSwitchName, pParentName));
 }
 void ICorDebugManagedCallback.LogMessage(IntPtr pAppDomain, IntPtr pThread, LoggingLevelEnum lLevel, string pLogSwitchName, string pMessage)
 {
     dbg.OnManagedCallbackFromAnyThread(() => new LogMessageDebugCallbackEventArgs(I <ICorDebugAppDomain>(pAppDomain), I <ICorDebugThread>(pThread), lLevel, pLogSwitchName, pMessage));
 }
 public FileLoggingService(LoggingLevelEnum minLevel = LoggingLevelEnum.Debug)
 {
     MinLevel = minLevel;
 }
Example #7
0
		public LogSwitchDebugCallbackEventArgs(ICorDebugAppDomain pAppDomain, ICorDebugThread pThread, LoggingLevelEnum lLevel, LogSwitchCallReason ulReason, string pLogSwitchName, string pParentName)
			: base(pAppDomain) {
			this.AppDomain = pAppDomain;
			this.Thread = pThread;
			this.Level = lLevel;
			this.Reason = ulReason;
			this.LowSwitchName = pLogSwitchName;
			this.ParentName = pParentName;
		}
Example #8
0
		public LogMessageDebugCallbackEventArgs(ICorDebugAppDomain pAppDomain, ICorDebugThread pThread, LoggingLevelEnum lLevel, string pLogSwitchName, string pMessage)
			: base(pAppDomain) {
			this.AppDomain = pAppDomain;
			this.Thread = pThread;
			this.Level = lLevel;
			this.LowSwitchName = pLogSwitchName;
			this.Message = pMessage;
		}
			public ManagedCallbackDebugMessage (CorDebugThread thread, CorDebugAppDomain appDomain, string switchName, string message, LoggingLevelEnum level) : base (thread)
			{
				m_switchName = switchName;
				m_message = message;
				m_level = level;
				m_appDomain = appDomain;
			}
 public LogSwitchDebugCallbackEventArgs(ICorDebugAppDomain pAppDomain, ICorDebugThread pThread, LoggingLevelEnum lLevel, LogSwitchCallReason ulReason, string pLogSwitchName, string pParentName)
     : base(pAppDomain)
 {
     this.AppDomain     = pAppDomain;
     this.Thread        = pThread;
     this.Level         = lLevel;
     this.Reason        = ulReason;
     this.LowSwitchName = pLogSwitchName;
     this.ParentName    = pParentName;
 }
 public LogMessageDebugCallbackEventArgs(ICorDebugAppDomain pAppDomain, ICorDebugThread pThread, LoggingLevelEnum lLevel, string pLogSwitchName, string pMessage)
     : base(pAppDomain)
 {
     this.AppDomain     = pAppDomain;
     this.Thread        = pThread;
     this.Level         = lLevel;
     this.LowSwitchName = pLogSwitchName;
     this.Message       = pMessage;
 }
 public BasicLoggingService(LoggingLevelEnum minLevel = LoggingLevelEnum.Debug)
 {
     MinLevel = minLevel;
 }