Results 1 to 3 of 3

Threaded View

  1. #1

    Log4NetLogging issue

    In your demo for DotNet client 4.0.0, there is some code in the Log4NetLogging.cs file as follows

    public ILogger GetLogger(string category)
    {
    lock (logInstances)
    {
    if (!logInstances.ContainsKey(category))
    {
    logInstances[category] = new Log4NetLoggerWrapper(log4net.LogManager.GetLogger( category));


    I get a compile error on this last line for GetLogger(category) saying "cannot convert 'string' to 'System.Type'".

    If I replace "category" in the call with a made-up Type argument, the Demo runs. I think I'm connected correctly, because I can send a log record to the console or the log file from my program. I notice that the config file only defines WARN level responses and no Appenders. This makes me wonder if I need to worry about this. Is it OK for me to continue without Log4Net logging?
    Last edited by Chuck; September 4th, 2020 at 12:30 AM.

 

 

Similar Threads

  1. Internet Explorer --> Proxy issue
    By Mone in forum Client SDKs
    Replies: 0
    Last Post: October 22nd, 2007, 11:20 AM
  2. Opera 8 - 9 --> iframes onload issue
    By Mone in forum Client SDKs
    Replies: 0
    Last Post: February 9th, 2007, 02:35 PM
  3. Web server/Lightstreamer dual deployment issue
    By CitiMan in forum Client SDKs
    Replies: 2
    Last Post: November 21st, 2006, 02:55 PM
  4. Replies: 0
    Last Post: November 9th, 2006, 05:12 PM
  5. Firefox 1.0 - 1.5.0.7 --> Status bar issue
    By Mone in forum Client SDKs
    Replies: 0
    Last Post: November 7th, 2006, 12:24 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 10:59 AM.