category |
Zend |
package |
Zend_Service_WindowsAzure |
subpackage |
Log |
copyright |
Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license |
New BSD License |
inherited_from |
\Zend_Log_Writer_Abstract |
Methods
__construct()
__construct(\Zend_Service_Service_WindowsAzure_Storage_Table|\Zend_Service_WindowsAzure_Storage_Table $tableStorageConnection, string $tableName, boolean $createTable = true
, boolean $bufferMessages = true
)
Parameters
$tableStorageConnection
\Zend_Service_Service_WindowsAzure_Storage_Table
\Zend_Service_WindowsAzure_Storage_Table
$tableName
string
$createTable
boolean
create the Windows Azure table for logging if it does not exist
$bufferMessages
boolean
Exceptions
\Zend_Service_Log_Exception |
|
Add a filter specific to this writer.
addFilter(\Zend_Log_Filter_Interface|integer $filter) : \Zend_Log_Writer_Abstract
Inherited
Parameters
$filter
\Zend_Log_Filter_Interface
integer
Filter class or filter
priority
Exceptions
Returns
\Zend_Log_Writer_Abstract
Create a new instance of Zend_Service_Log_Writer_WindowsAzure
factory(array $config) : \Zend_Service_Log_Writer_WindowsAzure
Static
Parameters
$config
array
Exceptions
\Zend_Service_Log_Exception |
|
Returns
\Zend_Service_Log_Writer_WindowsAzure
If the log messages have been stored in the internal buffer, just send them
to table storage.
shutdown()
inherited_from |
\Zend_Log_Writer_Abstract::shutdown() |
Perform shutdown activites such as closing open resources
shutdown() : void
Inherited
Log a message to this writer.
write(array $event) : void
Inherited
Parameters
$event
array
log data event
Validate and optionally convert the config to array
_parseConfig(array|\Zend_Config $config) : array
InheritedStatic
Parameters
$config
array
\Zend_Config
Zend_Config or Array
Exceptions
Returns
array
Write a message to the table storage. If buffering is activated, then messages will just be
added to an internal buffer.
_write(array $event) : void
todo |
format the event using a formatted, not in this method |
inherited_from |
\Zend_Log_Writer_Abstract::_write() |
Parameters
$event
array
Write a message to the log.
_write(array $event) : void
Inherited
Parameters
$event
array
log data event
Properties
Whether to keep all messages to be logged in an external buffer until the script ends and
only then to send the messages in batch to the logging component.
$_bufferMessages : boolean
of Zend_Log_Filter_Interface
$_filters : array
If message buffering is activated, it will store all the messages in this buffer and only
write them to table storage (in a batch transaction) when the script ends.
$_messageBuffer : array
Name of the table to use for logging purposes
$_tableName : string
Connection to a windows Azure
$_tableStorageConnection : \Zend_Service_Service_WindowsAzure_Storage_Table