Blog Post

Introducing Semantic Logging

Sign in to queue

The Discussion

  • User profile image
    codematrix

    This probably why I've been using ReflectInsight for last few months
    http://insightextensions.codeplex.com/

  • User profile image
    deepak

    Sample application is using Azure table "SLAB" but the structure of that table is not given in source page in codeplex.
    I am trying to integrate SLAB in local SQL Server but i think due to missing SLAB table structure it's not working.
    Can you provide some example for SQL Server logging?

  • User profile image
    juliandom

    Hi Deepak. The script for creating the SQL table is included in the SemanticLogging.Database nuget package (but not added to the project, so you won't see it there). Go to the "packages" folder in your solution, search for that nuget package, and it should have the SQL scripts inside the "scripts" folder.
    To use it from code, just do SqlDatabaseLog.CreateListener(...) passing a connection string and the rest should be the same as in the other examples (enable which events to listen and so on)

  • User profile image
    Paul

    Hi,

    I am trying to implement the azure listener but I could not use this Class:

    var listener = new Microsoft.Practices.EnterpriseLibrary.SemanticLogging.EventListener.AzureTableEventListener();

    it is not recognizing EventListener am I missing something?

  • User profile image
    Sal

    Can you please point me sample app ?

  • User profile image
    deepak

    Thanks Juliandom, I am not to log the data in SQL database now.
    Is Semantic Logging works asynchronously?

  • User profile image
    melnik

    Also see updated demos from //Build. They show how complex logging scenarios can be implemented just with a few lines of code using the power of SLAB and Rx.

  • User profile image
    ekenman

    @Paul:I have the same problem... Am I missing a DLL (I installed from nuget)

  • User profile image
    fsimonazzi

    The Windows Azure Table sink is in a separate NuGet package, EnterpriseLibrary.SemanticLogging.WindowsAzure. Same for the SQL Server sink, EnterpriseLibrary.SemanticLogging.Database.

Add Your 2 Cents