I believe the logging facility uses the name of the class with the ILogger dependency
 
e.g.
 
namespace Foo
{
  public class Bar
  {
      public Bar(ILogger logger)
      { ...
      }
  }
}
 
The logger name will be Foo.Bar.  At least that is how I use it.

 
On 7/27/06, shawn hinsey <[EMAIL PROTECTED]> wrote:
I'm having a tough time with the logging facility.

What controls the logger's name? All of my loggers seem to come back
named "Default," and CreateChildLogger(string) throws a
NotImplementedException for log4net. How do I maintain control over the
name of my loggers while still using them outside of the container?

Thanks,
Shawn


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
CastleProject-users mailing list
CastleProject-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/castleproject-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
CastleProject-users mailing list
CastleProject-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/castleproject-users

Reply via email to