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/Repository/Hierarchy DefaultLoggerFactory.cs Hierarchy.cs ILoggerFactory.cs
Date Mon, 13 Dec 2004 01:53:58 GMT
nicko       2004/12/12 17:53:58

  Modified:    src/Repository/Hierarchy DefaultLoggerFactory.cs
                        Hierarchy.cs ILoggerFactory.cs
  Log:
  Renamed ILoggerFactory method MakeNewLoggerInstance to CreateLogger
  
  Revision  Changes    Path
  1.4       +1 -1      logging-log4net/src/Repository/Hierarchy/DefaultLoggerFactory.cs
  
  Index: DefaultLoggerFactory.cs
  ===================================================================
  RCS file: /home/cvs/logging-log4net/src/Repository/Hierarchy/DefaultLoggerFactory.cs,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DefaultLoggerFactory.cs	13 Dec 2004 01:42:51 -0000	1.3
  +++ DefaultLoggerFactory.cs	13 Dec 2004 01:53:58 -0000	1.4
  @@ -69,7 +69,7 @@
   		/// new named <see cref="Logger"/> instances.
   		/// </para>
   		/// </remarks>
  -		public Logger MakeNewLoggerInstance(string name) 
  +		public Logger CreateLogger(string name) 
   		{
   			return new LoggerImpl(name);
   		}
  
  
  
  1.10      +2 -2      logging-log4net/src/Repository/Hierarchy/Hierarchy.cs
  
  Index: Hierarchy.cs
  ===================================================================
  RCS file: /home/cvs/logging-log4net/src/Repository/Hierarchy/Hierarchy.cs,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Hierarchy.cs	13 Dec 2004 01:42:51 -0000	1.9
  +++ Hierarchy.cs	13 Dec 2004 01:53:58 -0000	1.10
  @@ -682,7 +682,7 @@
   				Object node = m_ht[key];
   				if (node == null) 
   				{
  -					logger = factory.MakeNewLoggerInstance(name);
  +					logger = factory.CreateLogger(name);
   					logger.Hierarchy = this;
   					m_ht[key] = logger;	  
   					UpdateParents(logger);
  @@ -695,7 +695,7 @@
   				} 
   				else if (node is ProvisionNode) 
   				{
  -					logger = factory.MakeNewLoggerInstance(name);
  +					logger = factory.CreateLogger(name);
   					logger.Hierarchy = this; 
   					m_ht[key] = logger;
   					UpdateChildren((ProvisionNode)node, logger);
  
  
  
  1.4       +2 -2      logging-log4net/src/Repository/Hierarchy/ILoggerFactory.cs
  
  Index: ILoggerFactory.cs
  ===================================================================
  RCS file: /home/cvs/logging-log4net/src/Repository/Hierarchy/ILoggerFactory.cs,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ILoggerFactory.cs	13 Dec 2004 01:42:51 -0000	1.3
  +++ ILoggerFactory.cs	13 Dec 2004 01:53:58 -0000	1.4
  @@ -31,7 +31,7 @@
   	/// create new <see cref="Logger"/> objects.
   	/// </para>
   	/// <para>
  -	/// The <see cref="MakeNewLoggerInstance"/> method is called
  +	/// The <see cref="CreateLogger"/> method is called
   	/// to create a named <see cref="Logger" />.
   	/// </para>
   	/// <para>
  @@ -57,6 +57,6 @@
   		/// new named <see cref="Logger"/> instances.
   		/// </para>
   		/// </remarks>
  -		Logger MakeNewLoggerInstance(string name);
  +		Logger CreateLogger(string name);
   	}
   }
  
  
  

Mime
View raw message