Hi all,

I'm very confused by logging support in current nant. There exist two
distinct mechanisms! One implemented in Task via Log method (and
Verbose/Info/Warning/Error levels) and second via log4net! Why not use
log4net even for screen outputs?? It will be much easier to redirect such
output to file etc. (even redirect verbose output and to screen with warning
level only).

This could also prevent this:
                    logger.Info(strLogContents);
                    //do not print LogPrefix, just pad that length.
                    Log(Level.Info, new string(char.Parse(" "),
LogPrefix.Length) + strLogContents);

why to have it twice and format message here? That is log4net stuff, I
think...


Martin



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to