@@ -1360,12 +1360,11 @@ public void ConditionalTraceTest()
13601360logger . ConditionalTrace ( NLCulture , "we've got error {0}, {1}, {2}, {3} ..." , 500 , 501 , 502 , 503 ) ;
13611361if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , "A|we've got error 500, 501, 502, 503 ..." ) ;
13621362
1363-
13641363logger . ConditionalTrace ( argException , NLCulture , "we've got error {0}, {1}, {2}, {3} ..." , 500 , 501 , 502 , 503.5 ) ;
1365- if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , "A|we\' ve got error 500, 501, 502, 503,5 ...arg1 is obvious wrong \r \n Parameter name: arg1 " ) ;
1364+ if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , $ "A|we\' ve got error 500, 501, 502, 503,5 ...{ argException . Message } ") ;
13661365
13671366logger . ConditionalTrace ( argException , "we've got error {0}, {1}, {2}, {3} ..." , 500 , 501 , 502 , 503.5 ) ;
1368- if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , "A|we\' ve got error 500, 501, 502, 503.5 ...arg1 is obvious wrong \r \n Parameter name: arg1 " ) ;
1367+ if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , $ "A|we\' ve got error 500, 501, 502, 503.5 ...{ argException . Message } ") ;
13691368
13701369logger . ConditionalTrace ( "message{0}" , ( ulong ) 1 ) ;
13711370if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , "A|message1" ) ;
@@ -1534,12 +1533,11 @@ public void ConditionalTraceILogTest()
15341533logger . ConditionalTrace ( NLCulture , "we've got error {0}, {1}, {2}, {3} ..." , 500 , 501 , 502 , 503 ) ;
15351534if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , "A|we've got error 500, 501, 502, 503 ..." ) ;
15361535
1537-
15381536logger . ConditionalTrace ( argException , NLCulture , "we've got error {0}, {1}, {2}, {3} ..." , 500 , 501 , 502 , 503.5 ) ;
1539- if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , "A|we\' ve got error 500, 501, 502, 503,5 ...arg1 is obvious wrong \r \n Parameter name: arg1 " ) ;
1537+ if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , $ "A|we\' ve got error 500, 501, 502, 503,5 ...{ argException . Message } ") ;
15401538
15411539logger . ConditionalTrace ( argException , "we've got error {0}, {1}, {2}, {3} ..." , 500 , 501 , 502 , 503.5 ) ;
1542- if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , "A|we\' ve got error 500, 501, 502, 503.5 ...arg1 is obvious wrong \r \n Parameter name: arg1 " ) ;
1540+ if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , $ "A|we\' ve got error 500, 501, 502, 503.5 ...{ argException . Message } ") ;
15431541
15441542logger . ConditionalTrace ( "message{0}" , ( ulong ) 1 ) ;
15451543if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , "A|message1" ) ;
@@ -1707,12 +1705,11 @@ public void ConditionalDebugTest()
17071705logger . ConditionalDebug ( NLCulture , "we've got error {0}, {1}, {2}, {3} ..." , 500 , 501 , 502 , 503 ) ;
17081706if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , "A|we've got error 500, 501, 502, 503 ..." ) ;
17091707
1710-
17111708logger . ConditionalDebug ( argException , NLCulture , "we've got error {0}, {1}, {2}, {3} ..." , 500 , 501 , 502 , 503.5 ) ;
1712- if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , "A|we\' ve got error 500, 501, 502, 503,5 ...arg1 is obvious wrong \r \n Parameter name: arg1 " ) ;
1709+ if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , $ "A|we\' ve got error 500, 501, 502, 503,5 ...{ argException . Message } ") ;
17131710
17141711logger . ConditionalDebug ( argException , "we've got error {0}, {1}, {2}, {3} ..." , 500 , 501 , 502 , 503.5 ) ;
1715- if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , "A|we\' ve got error 500, 501, 502, 503.5 ...arg1 is obvious wrong \r \n Parameter name: arg1 " ) ;
1712+ if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , $ "A|we\' ve got error 500, 501, 502, 503.5 ...{ argException . Message } ") ;
17161713
17171714logger . ConditionalDebug ( "message{0}" , ( ulong ) 1 ) ;
17181715if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , "A|message1" ) ;
@@ -1882,10 +1879,10 @@ public void ConditionalDebugILogTest()
18821879if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , "A|we've got error 500, 501, 502, 503 ..." ) ;
18831880
18841881logger . ConditionalDebug ( argException , NLCulture , "we've got error {0}, {1}, {2}, {3} ..." , 500 , 501 , 502 , 503.5 ) ;
1885- if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , "A|we\' ve got error 500, 501, 502, 503,5 ...arg1 is obvious wrong \r \n Parameter name: arg1 " ) ;
1882+ if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , $ "A|we\' ve got error 500, 501, 502, 503,5 ...{ argException . Message } ") ;
18861883
18871884logger . ConditionalDebug ( argException , "we've got error {0}, {1}, {2}, {3} ..." , 500 , 501 , 502 , 503.5 ) ;
1888- if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , "A|we\' ve got error 500, 501, 502, 503.5 ...arg1 is obvious wrong \r \n Parameter name: arg1 " ) ;
1885+ if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , $ "A|we\' ve got error 500, 501, 502, 503.5 ...{ argException . Message } ") ;
18891886
18901887logger . ConditionalDebug ( "message{0}" , ( ulong ) 1 ) ;
18911888if ( enabled == 1 ) AssertDebugLastMessage ( "debug" , "A|message1" ) ;