logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject cvs commit: logging-log4net/src/Layout/Pattern LiteralPatternConverter.cs NewLinePatternConverter.cs
Date Mon, 20 Dec 2004 00:03:07 GMT
nicko       2004/12/19 16:03:07

  Modified:    src      log4net.csproj
               src/Layout PatternLayout.cs
  Removed:     src/Layout/Pattern LiteralPatternConverter.cs
                        NewLinePatternConverter.cs
  Log:
  Replaced literal and newline layout pattern converters with string pattern converters
  
  Revision  Changes    Path
  1.16      +0 -10     logging-log4net/src/log4net.csproj
  
  Index: log4net.csproj
  ===================================================================
  RCS file: /home/cvs/logging-log4net/src/log4net.csproj,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- log4net.csproj	19 Dec 2004 23:57:02 -0000	1.15
  +++ log4net.csproj	20 Dec 2004 00:03:07 -0000	1.16
  @@ -633,11 +633,6 @@
                       BuildAction = "Compile"
                   />
                   <File
  -                    RelPath = "Layout\Pattern\LiteralPatternConverter.cs"
  -                    SubType = "Code"
  -                    BuildAction = "Compile"
  -                />
  -                <File
                       RelPath = "Layout\Pattern\LoggerPatternConverter.cs"
                       SubType = "Code"
                       BuildAction = "Compile"
  @@ -659,11 +654,6 @@
                   />
                   <File
                       RelPath = "Layout\Pattern\NdcPatternConverter.cs"
  -                    SubType = "Code"
  -                    BuildAction = "Compile"
  -                />
  -                <File
  -                    RelPath = "Layout\Pattern\NewLinePatternConverter.cs"
                       SubType = "Code"
                       BuildAction = "Compile"
                   />
  
  
  
  1.18      +3 -3      logging-log4net/src/Layout/PatternLayout.cs
  
  Index: PatternLayout.cs
  ===================================================================
  RCS file: /home/cvs/logging-log4net/src/Layout/PatternLayout.cs,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- PatternLayout.cs	19 Dec 2004 19:23:20 -0000	1.17
  +++ PatternLayout.cs	20 Dec 2004 00:03:07 -0000	1.18
  @@ -768,9 +768,9 @@
   		{
   			s_globalRulesRegistry = new Hashtable(35);
   
  -			s_globalRulesRegistry.Add("literal", typeof(LiteralPatternConverter));
  -			s_globalRulesRegistry.Add("newline", typeof(NewLinePatternConverter));
  -			s_globalRulesRegistry.Add("n", typeof(NewLinePatternConverter));
  +			s_globalRulesRegistry.Add("literal", typeof(log4net.Util.PatternStringConverters.LiteralPatternConverter));
  +			s_globalRulesRegistry.Add("newline", typeof(log4net.Util.PatternStringConverters.NewLinePatternConverter));
  +			s_globalRulesRegistry.Add("n", typeof(log4net.Util.PatternStringConverters.NewLinePatternConverter));
   
   			s_globalRulesRegistry.Add("c", typeof(LoggerPatternConverter));
   			s_globalRulesRegistry.Add("logger", typeof(LoggerPatternConverter));
  
  
  

Mime
View raw message