bloritsch 2003/06/24 10:38:29
Modified: csframework/src/cs/Logger Log4netLogger.cs
Log:
fix compile error
Revision Changes Path
1.8 +2 -1 avalon-sandbox/csframework/src/cs/Logger/Log4netLogger.cs
Index: Log4netLogger.cs
===================================================================
RCS file: /home/cvs/avalon-sandbox/csframework/src/cs/Logger/Log4netLogger.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Log4netLogger.cs 24 Jun 2003 17:34:53 -0000 1.7
+++ Log4netLogger.cs 24 Jun 2003 17:38:29 -0000 1.8
@@ -236,7 +236,8 @@
/// <exception cref="System.ArgumentException">If the name has an
empty element name.</exception>
public ILogger CreateChildLogger(string name )
{
- return new Log4netLogger( LogManager.GetLogger( m_name + "." +
name ) );
+ string newName = m_name + "." + name;
+ return new Log4netLogger( LogManager.GetLogger( newName ),
newName );
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]