public override void ActivateOptions() { base.ActivateOptions(); try { if (_logServiceContext == null) { _logServiceContext = new LogServiceContext(TableStorageAccountName, TableStorageAccountKey, TableStorageName); } } catch (Exception e) { ErrorHandler.Error(string.Format("{0}: Could not write log entry to {1}: {2}", GetType().AssemblyQualifiedName, TableStorageName, e.Message)); throw; } }
public AzureTableStorageAppender(ILogServiceContext logServiceContext) { _logServiceContext = logServiceContext; }