Class LoggerLayoutSerialized

Description

Layout which formats the events using PHP's serialize() function.

Available options:

  • locationInfo - If set to true, the event's location information will also be serialized (slow, defaults to false).

  • version: $Revision: 1059292 $
  • since: 2.2

Located in /layouts/LoggerLayoutSerialized.php (line 33)

LoggerConfigurable
   |
   --LoggerLayout
      |
      --LoggerLayoutSerialized
Variable Summary
Method Summary
void format (LoggerLoggingEvent $event)
void getLocationInfo ()
void setLocationInfo ( $value)
Variables
mixed $locationInfo = false (line 36)

Whether to include the event's location information (slow).

  • access: protected
Methods
format (line 48)
  • access: public
void format (LoggerLoggingEvent $event)

Redefinition of:
LoggerLayout::format()
Override this method to create your own layout format.
getLocationInfo (line 44)

Returns the location information flag.

  • access: public
void getLocationInfo ()
setLocationInfo (line 39)

Sets the location information flag.

  • access: public
void setLocationInfo ( $value)
  • $value

Inherited Methods

Inherited From LoggerLayout

LoggerLayout::activateOptions()
LoggerLayout::format()
LoggerLayout::getContentType()
LoggerLayout::getFooter()
LoggerLayout::getHeader()
LoggerLayout::warn()

Inherited From LoggerConfigurable

LoggerConfigurable::setBoolean()
LoggerConfigurable::setFileSize()
LoggerConfigurable::setInteger()
LoggerConfigurable::setLevel()
LoggerConfigurable::setNumeric()
LoggerConfigurable::setPositiveInteger()
LoggerConfigurable::setString()
LoggerConfigurable::warn()

Documentation generated on Sat, 18 Feb 2012 22:32:25 +0000 by phpDocumentor 1.4.3