Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RedBear.Log4View.AzureServiceBus.Target

An NLog target for use with our Log4View Azure Service Bus plugin.

Build status

Install via NuGet:

Install-Package RedBear.Log4View.AzureServiceBus.Target

Then update your config file as follows taking care to include your Service Bus connection string and topic name:

  <configSections>
     <section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog"/>
  </configSections>
  <nlog>
    <extensions>
      <add assembly="RedBear.Log4View.AzureServiceBus.Target"/>
    </extensions>
    <targets>
      <target name="buffer" type="BufferingWrapper" bufferSize="100" flushTimeout="1000">
        <target name="l4v" type="Log4ViewTarget" ConnectionString="Endpoint=sb://xxxx.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=xxxx" Topic="l4v" />
      </target>
    </targets>
    <rules>
      <logger name="*" minLevel="Trace" writeTo="buffer"/>
    </rules>
  </nlog>

About

NLog target for the Log4View Azure Service Bus plugin.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages