diff -r bd595ad770fc -r 1c2f13fd785c web/enmi/Zend/Service/WindowsAzure/Diagnostics/ConfigurationWindowsEventLog.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/enmi/Zend/Service/WindowsAzure/Diagnostics/ConfigurationWindowsEventLog.php Thu Jan 20 19:30:54 2011 +0100 @@ -0,0 +1,91 @@ +_data = array( + 'bufferquotainmb' => $bufferQuotaInMB, + 'scheduledtransferperiodinminutes' => $scheduledTransferPeriodInMinutes, + 'scheduledtransferloglevelfilter' => $scheduledTransferLogLevelFilter, + 'subscriptions' => array() + ); + } + + /** + * Add subscription + * + * @param string $filter Event log filter + */ + public function addSubscription($filter) + { + $this->_data['subscriptions'][$filter] = $filter; + } + + /** + * Remove subscription + * + * @param string $filter Event log filter + */ + public function removeSubscription($filter) + { + if (isset($this->_data['subscriptions'][$filter])) { + unset($this->_data['subscriptions'][$filter]); + } + } +} \ No newline at end of file