Skip to content

A trace listener for System.Diagnostics that can be used to log events straight to Amazon DynamoDB.

License

Notifications You must be signed in to change notification settings

AmbroiseCouissin/aws-dotnet-trace-listener

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS DynamoDB Trace Listener

The AWS DynamoDB Trace Listener allows System.Diagnostics.Trace calls to be written to Amazon DynamoDB.

Usage Information

The trace listener can be included in your project from the NuGet package. Once included the trace listener can be configured in your application's app.config or web.config. Here is an example configuration that writes all Trace.Write calls to DynamoDB.

<system.diagnostics>
  <trace autoflush="true">
    <listeners>
      <add name="dynamo" type="Amazon.TraceListener.DynamoDBTraceListener, AWS.TraceListener"
                      Region="us-west-2"
                      ExcludeAttributes="Callstack"
                      HashKeyFormat="%ComputerName%-{EventType}-{ProcessId}"
                      RangeKeyFormat="{Time}"
        />
    </listeners>
  </trace>    
</system.diagnostics>

Go here for more information on using the trace listener.

Links

About

A trace listener for System.Diagnostics that can be used to log events straight to Amazon DynamoDB.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%