Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-359

Best way to get the RenderedMessage?

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Environment:
      C#

      Description

      What's the best way to get the RenderedMessage of the logger?

      At the moment I have a thread (logwatcher) that checks if there is a line added to the logger. The thread takes a lot of performance.

      Is there another solution for this? Does the ILog has an event like newMessageReceived? Or can I create such event for it (how to link that custom event to the logger)?

      Thank you in advance!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rlog R
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: