Overview

Packages

  • log4php
    • appenders
    • configurators
    • filters
    • helpers
    • layouts
    • pattern
    • renderers

Classes

  • LoggerLayoutHtml
  • LoggerLayoutPattern
  • LoggerLayoutSerialized
  • LoggerLayoutSimple
  • LoggerLayoutXml
  • Overview
  • Package
  • Class
  • Tree

Class LoggerLayoutSerialized

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).
LoggerConfigurable
Extended by LoggerLayout
Extended by LoggerLayoutSerialized
Package: log4php\layouts
Version: $Revision: 1334369 $
Since: 2.2
Located at layouts/LoggerLayoutSerialized.php
Methods summary
public
# setLocationInfo( mixed $value )

Sets the location information flag.

Sets the location information flag.

public
# getLocationInfo( )

Returns the location information flag.

Returns the location information flag.

public string
# format( LoggerLoggingEvent $event )

Override this method to create your own layout format.

Override this method to create your own layout format.

Parameters

$event
LoggerLoggingEvent

Returns

string

Overrides

LoggerLayout::format()
Methods inherited from LoggerLayout
activateOptions(), getContentType(), getFooter(), getHeader(), warn()
Methods inherited from LoggerConfigurable
setBoolean(), setFileSize(), setInteger(), setLevel(), setNumeric(), setPositiveInteger(), setString()
Properties summary
protected boolean $locationInfo false
#

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

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

Apache log4php API documentation generated by ApiGen 2.8.0