Try:

((log4net.Repository.Hierarchy.Logger)(log.Logger)).Level

Nicko

> -----Original Message-----
> From: Irene Altdorf [mailto:[EMAIL PROTECTED] 
> Sent: 23 April 2006 22:13
> To: [email protected]
> Subject: Interface method to request the level of a Logger?
> 
> Hello,
> 
>  
> 
> Is there an interface method to get the current level of a 
> Logger?  Using the ILog interface, I can determine whether 
> certain levels are enabled via the IsxxxEnabled property, but 
> I was hoping to be able to make one call to get the current 
> Logger level.  It might seem like an odd request, but we will 
> be passing that info on to a lower level component.
> 
>  
> 
> Sorry if I have missed something obvious.
> 
>  
> 
> Thanks,
> 
> Irene
> 
>  
> 
> 

Reply via email to