logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shireesh Thanneru <thann...@yahoo.com>
Subject Re: Write(Level level, string message)
Date Wed, 22 Feb 2006 20:06:27 GMT
Yes, but not directly through ILog. Take a look at the following link:
  http://logging.apache.org/log4net/release/sdk/log4net.Repository.Hierarchy.Logger.Log_overloads.html
   
  You can cast the logger you get to (log4net.Repository.Hierarchy.Logger) and then call the

  http://logging.apache.org/log4net/release/sdk/log4net.Repository.Hierarchy.Logger.Log_overload_3.html
   
  method (pass null to the exception parameter when there is no exception).

  Thanks,
   
  Shireesh 
  
Vladimir Kovalenko <gaset.kovalenko@gmail.com> wrote:
                Are there such methods as Write(Level level, string message); available?
   
  Best regards,
  Kovalenko Vladimir
   
   



Mime
View raw message