@@ -10,75 +10,75 @@ public static class Logger
1010 public static void Verbose ( string message , string channel = "default" )
1111 {
1212 Log . ForContext ( "SourceContext" , GetNameOfCallingClass ( ) )
13- . Verbose ( "{Message} {Channel} " , message , channel ) ;
13+ . Verbose ( "{Message}" , message ) ;
1414 }
1515
1616 public static void Info ( string message , string channel = "default" )
1717 {
1818 Log . ForContext ( "SourceContext" , GetNameOfCallingClass ( ) )
19- . Information ( "{Message} {Channel} " , message , channel ) ;
19+ . Information ( "{Message}" , message ) ;
2020 }
2121
2222 public static void Debug ( string message , string channel = "default" )
2323 {
2424 Log . ForContext ( "SourceContext" , GetNameOfCallingClass ( ) )
25- . Debug ( "{Message} {Channel} " , message , channel ) ;
25+ . Debug ( "{Message}" , message ) ;
2626 }
2727
2828 public static void Error ( string message , string channel = "default" )
2929 {
3030 Log . ForContext ( "SourceContext" , GetNameOfCallingClass ( ) )
31- . Error ( "{Message} {Channel} " , message , channel ) ;
31+ . Error ( "{Message}" , message ) ;
3232 }
3333
3434 public static void Warn ( string message , string channel = "default" )
3535 {
3636 Log . ForContext ( "SourceContext" , GetNameOfCallingClass ( ) )
37- . Warning ( "{Message} {Channel} " , message , channel ) ;
37+ . Warning ( "{Message}" , message ) ;
3838 }
3939
4040 public static void Fatal ( string message , string channel = "default" )
4141 {
4242 Log . ForContext ( "SourceContext" , GetNameOfCallingClass ( ) )
43- . Fatal ( "{Message} {Channel} " , message , channel ) ;
43+ . Fatal ( "{Message}" , message ) ;
4444 }
4545 #endregion
4646
4747 #region Exception method calls
4848 public static void Verbose ( Exception exception , string channel = "default" )
4949 {
5050 Log . ForContext ( "SourceContext" , GetNameOfCallingClass ( ) )
51- . Verbose ( exception , "{Channel}" , channel ) ;
51+ . Verbose ( exception , "" ) ;
5252 }
5353
5454 public static void Info ( Exception exception , string channel = "default" )
5555 {
5656 Log . ForContext ( "SourceContext" , GetNameOfCallingClass ( ) )
57- . Information ( exception , "{Channel}" , channel ) ;
57+ . Information ( exception , "" ) ;
5858 }
5959
6060 public static void Debug ( Exception exception , string channel = "default" )
6161 {
6262 Log . ForContext ( "SourceContext" , GetNameOfCallingClass ( ) )
63- . Debug ( exception , "{Channel}" , channel ) ;
63+ . Debug ( exception , "" ) ;
6464 }
6565
6666 public static void Error ( Exception exception , string channel = "default" )
6767 {
6868 Log . ForContext ( "SourceContext" , GetNameOfCallingClass ( ) )
69- . Error ( exception , "{Channel}" , channel ) ;
69+ . Error ( exception , "" ) ;
7070 }
7171
7272 public static void Warn ( Exception exception , string channel = "default" )
7373 {
7474 Log . ForContext ( "SourceContext" , GetNameOfCallingClass ( ) )
75- . Warning ( exception , "{Channel}" , channel ) ;
75+ . Warning ( exception , "" ) ;
7676 }
7777
7878 public static void Fatal ( Exception exception , string channel = "default" )
7979 {
8080 Log . ForContext ( "SourceContext" , GetNameOfCallingClass ( ) )
81- . Fatal ( exception , "{Channel}" , channel ) ;
81+ . Fatal ( exception , "" ) ;
8282 }
8383 #endregion
8484
0 commit comments