# Class LoggerLayout

Extend this abstract class to create your own log layout format.

  LoggerConfigurable
  LoggerLayout

#### Direct known subclasses

LoggerLayoutHtml, LoggerLayoutPattern, LoggerLayoutSerialized, LoggerLayoutSimple, LoggerLayoutXml
Abstract
Package: log4php
Version: $Revision: 1213283 $
Located at LoggerLayout.php

Methods summary
`public` | # `activateOptions( )` Activates options for this layout. Override this method if you have options to be activated. Activates options for this layout. Override this method if you have options to be activated.
`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`
`public string` | # `getContentType( )` Returns the content type output by this layout. Returns the content type output by this layout.

#### Returns

`string`
`public string` | # `getFooter( )` Returns the footer for the layout format. Returns the footer for the layout format.

#### Returns

`string`
`public string` | # `getHeader( )` Returns the header for the layout format. Returns the header for the layout format.

#### Returns

`string`
`protected` | # `warn( mixed $message )` Triggers a warning for this layout with the given message. Triggers a warning for this layout with the given message.

#### Overrides

`LoggerConfigurable::warn()`

Methods inherited from LoggerConfigurable
`setBoolean(), setFileSize(), setInteger(), setLevel(), setNumeric(), setPositiveInteger(), setString()`