Hi Ron,

I try to answer your couple of questions:

Generated tracing code uses separate logger (ILog) objects.

The logger names are determined by a name creation mode:

Type      - use full qualified type name as logger name
Method    - use full qualified method name as logger name
Signature - use full qualified method name including the whole parameter
list as logger name
Custom    - use a custom name as logger name

A "prefix like" logger name is not supported - we'll think about that
suggestion. Thanks, anyway.

The level of generated messages can be choosen. It be set per rule instance
(Entry, Exit, Parameter, Return, Throw, Catch, Return Via Exception,
System.Diagnostics). Rules are applicable to namespaces, classes, methods,
...

For example,
set the level of the entry rule for NamespaceA.ClassB to "Debug",
set the level of the entry rule for NamespaceA.ClassC to "Info".

Currently, we are working on an English version of the website.




-----Ursprüngliche Nachricht-----
Von: Ron Grabowski [mailto:[EMAIL PROTECTED] 
Gesendet: Samstag, 13. Mai 2006 07:46
An: Log4NET User
Betreff: Re: AW: Log4Net Viewer

I haven't tried the product yet but I'll give feedback anyway :-)

Is it possible to create a seperate log object for the auto-generated
log statements? For example suppose I have a normal log object:

 private readonly static ILog log = 
  LogManager.GetLogger(typeof(Class1));

It would be nice if the program could create a second log object so I
could route the injected log messages:

 private readonly static ILog log = 
  LogManager.GetLogger(typeof(Class1));

 private readonly static ILog injectLog = 
  LogManager.GetLogger("inject." + typeof(Class1).FullName);

Where "inject" is a prefix I can name myself. The entry, exit, etc.
messages would be written to the injectLog object.

Can I set the level of generated messages? From the screenshots it
looks like everything is generated with Debug. Is it possible to set
the level on a per logger (i.e. namespace) level?

Are there any plans to make an English version of the website?

--- "Wiedemann, Bernd" <[EMAIL PROTECTED]> wrote:

> Hi Richard,
> 
>  
> 
> if you are interested in a viewer implemented with .net framework,
> consider
> 
> XTrace Viewer (www.xtrace.de). 
> 
>  
> 
> There you'll find a tracing tool suite - based on log4net and its
> logging
> 
> derivates, which comprises a viewer, a configuration editor, a
> mechanism for
> 
> generating tracing code and an API for rendering types.
> 
>  
> 
> Although the website is in german, the tool suite itself is
> completely in
> english.
> 
>  
> 
> Best regards, 
> 
>  
> 
> Bernd

Reply via email to