Пример #1
0
		internal static void SetTraceSettings(short maxTypeId, TraceSettings settings)
		{
			if(_messageTracer == null)
			{
				_messageTracer = new MessageTracer(maxTypeId, settings);
			}
			else
			{
				_messageTracer.ReloadConfig(maxTypeId,settings);
			}
		}
Пример #2
0
 internal static void SetTraceSettings(short maxTypeId, TraceSettings settings)
 {
     if (_messageTracer == null)
     {
         _messageTracer = new MessageTracer(maxTypeId, settings);
     }
     else
     {
         _messageTracer.ReloadConfig(maxTypeId, settings);
     }
 }