Hi,
Class1 is just an example, but in the real source code, this is the main
class of my windows forms application, then it is just a class which has a
logger.
I'm going to search in the documentation for a configuration file like you
said.
Thanks.
-Message d'origine-
DeĀ : Matthew
Is Class1 a logger or a class that happens to have a logger?
Either way, you're going to want to create different appenders for the
different log files.
Have you looked into using a config file to handle configuration? Much easier.
On 12/30/05, dh <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Until
Hi all,
Until now, I used the following code for my log:
Namespace Test
{
Class Class1
{
Private static string appPath = "";
private static ILog log = LogManager.GetLogger(
System.Reflection.MethodBase.GetCurrentMethod().DeclaringType );
private static log4net.