log4net

  • Thread starter Thread starter marko
  • Start date Start date
M

marko

I try to use log4net in a Smart device Application.

using System;
using log4net;
using log4net.Config;

The following statement does not work: There is another method to make
it?
private static ILog log = LogManager.GetLogger(typeof(TestLog));

log4net.Layout(....
log4net.Appender(....
log4net.Config....


so I don't be able to obtain an istance to call methods: Info, Warn or
Debug.
I have referenced log4net.dll, but I have readed on internet above existing
version named : log4net-netcf-1.0.dll but I didn't find it.

please help me.
mkz
 
Back
Top