Microsoft_Log
[ class tree: Microsoft_Log ] [ index: Microsoft_Log ] [ all elements ]

Class: Microsoft_Log_Writer_Abstract

Source Location: /Log/Writer/Abstract.php

Class Overview




Author(s):

Version:

  • $Id: Abstract.php 22632 2010-07-18 18:30:08Z ramon $

Copyright:

  • Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)

Implements interfaces:

Variables

Methods


Child classes:


Class Details

[line 36]


Tags:

version:  $Id: Abstract.php 22632 2010-07-18 18:30:08Z ramon $
copyright:  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
abstract:  
license:  New BSD License


[ Top ]


Class Variables

$_filters = array()

[line 41]



Tags:

var:  of Microsoft_Log_Filter_Interface
access:  protected

Type:   array


[ Top ]

$_formatter =

[line 47]

Formats the log message before writing.



Tags:

access:  protected



[ Top ]



Class Methods


static method _parseConfig [line 122]

static array _parseConfig( array $config)

Validate and optionally convert the config to array



Tags:

throws:  Zend_Log_Exception
access:  protected


Parameters:

array   $config  

[ Top ]

method addFilter [line 55]

void addFilter( Microsoft_Log_Filter_Interface $filter)

Add a filter specific to this writer.



Tags:

access:  public


Parameters:


[ Top ]

method setFormatter [line 94]

void setFormatter( Microsoft_Log_Formatter_Interface $formatter)

Set a new formatter for this writer



Tags:

access:  public


Overridden in child classes as:

Microsoft_WindowsAzure_Log_Writer_WindowsAzure::setFormatter()
The only formatter accepted is already loaded in the constructor

Parameters:


[ Top ]

method shutdown [line 104]

void shutdown( )

Perform shutdown activites such as closing open resources



Tags:

access:  public


Overridden in child classes as:

Microsoft_WindowsAzure_Log_Writer_WindowsAzure::shutdown()
If the log messages have been stored in the internal buffer, just send them to table storage.

[ Top ]

method write [line 76]

void write( array $event)

Log a message to this writer.



Tags:

access:  public


Parameters:

array   $event   log data event

[ Top ]

method _write [line 113]

void _write( array $event)

Write a message to the log.



Tags:

abstract:  
access:  protected


Overridden in child classes as:

Microsoft_WindowsAzure_Log_Writer_WindowsAzure::_write()
Write a message to the table storage. If buffering is activated, then messages will just be added to an internal buffer.

Parameters:

array   $event   log data event

[ Top ]


Documentation generated on Wed, 18 May 2011 12:06:02 +0200 by phpDocumentor 1.4.3