コード例 #1
0
ファイル: TracerEx.cs プロジェクト: sami1971/MugenMvvmToolkit
 protected override void TraceInternal(TraceLevel level, string message)
 {
     switch (level)
     {
         case TraceLevel.Information:
             Log.Info(Tag, message);
             break;
         case TraceLevel.Warning:
             Log.Warn(Tag, message);
             break;
         case TraceLevel.Error:
             Log.Error(Tag, message);
             break;
     }
 }
コード例 #2
0
 protected override void TraceInternal(TraceLevel level, string message)
 {
     switch (level)
     {
         case TraceLevel.Information:
             System.Diagnostics.Trace.TraceInformation(message);
             break;
         case TraceLevel.Warning:
             System.Diagnostics.Trace.TraceWarning(message);
             break;
         case TraceLevel.Error:
             System.Diagnostics.Trace.TraceError(message);
             break;
     }
 }
コード例 #3
0
        protected override void TraceInternal(TraceLevel level, string message)
        {
            switch (level)
            {
            case TraceLevel.Information:
                Log.Info(Tag, message);
                break;

            case TraceLevel.Warning:
                Log.Warn(Tag, message);
                break;

            case TraceLevel.Error:
                Log.Error(Tag, message);
                break;
            }
        }
コード例 #4
0
        protected override void TraceInternal(TraceLevel level, string message)
        {
            switch (level)
            {
            case TraceLevel.Information:
                System.Diagnostics.Trace.TraceInformation(message);
                break;

            case TraceLevel.Warning:
                System.Diagnostics.Trace.TraceWarning(message);
                break;

            case TraceLevel.Error:
                System.Diagnostics.Trace.TraceError(message);
                break;
            }
        }