specifying a logger for Log4PostSharp
2 posts • Page 1 of 1
specifying a logger for Log4PostSharp
I've looked through the code but am apparently blindly missing this. Where do you specify which logger (defined in your app.config file, for instance) Log4PostSharp will use? As far as I can tell, it always uses the root logger, but surely I'm missing it.
- codymay
- Posts: 8
- Joined: Mon Jun 09, 2008 8:53 pm
- First Name: Cody
- Last Name: May
Re: specifying a logger for Log4PostSharp
For every class that contains methods decorated with the Log attribute, Log4PostSharp creates separate logger instance. Name of the logger is set to the name of the class, including the namespace it is declared in.
- herrmic
- Posts: 20
- Joined: Sat Jan 12, 2008 4:55 pm
- First Name: Michal
- Last Name: Dabrowski
2 posts • Page 1 of 1
