public void Azure_Table_Appender() { _appender = new AzureTableAppender() { ConnectionString = CloudConfigurationManager.GetSetting("AzureStorageLogTableConnectionString"), TableName = "testAzureLoggingTable" }; _appender.ActivateOptions(); const string message = "Exception to follow on other line"; var ex = new Exception("This is the exception message"); var @event = new LoggingEvent(null, null, "testLoggerName", Level.Critical, message, ex); _appender.DoAppend(@event); }
public void Test_DynamicTable_Appender() { var @event = MakeEvent(); _appender.DoAppend(@event); }