Project Description
A helper library that allows configuration of Windows Azure Diagnostics in a Fluent manner.

How to Install

You can now use NuGet to install this:

Install-Package BareWeb.FluentAzureDiagnostics.dll

Usages

This takes and modifies the current running configuration:

var azureDiagnostics = new DiagnosticsCapture(CloudStorageAccount.DevelopmentStorageAccount);
azureDiagnostics.Current()
.WithLogs()
.WhereLogsAreAbove(LogLevel.Verbose)
.TransferLogsEvery(TimeSpan.FromMinutes(1D))
.Commit();

This builds from the default configuration:
var azureDiagnostics = new DiagnosticsCapture(CloudStorageAccount.DevelopmentStorageAccount);
azureDiagnostics.Default()
.WithLogs()
.Commit();

Last edited Oct 12, 2011 at 1:52 PM by andyatbareweb, version 4