# Class LoggerLayoutSimple

A simple layout.

Returns the log statement in a format consisting of the level, followed by " - " and then the message.

For example the following php and properties files

{@example ../../examples/php/layout_simple.php 19}

{@example ../../examples/resources/layout_simple.properties 18}

would result in:

`INFO - Hello World!`

  LoggerConfigurable
  LoggerLayout
  LoggerLayoutSimple

Package: log4php\layouts
Version: $Revision: 1213283 $
Located at layouts/LoggerLayoutSimple.php

Methods summary
`public string` | # `format( `LoggerLoggingEvent` $event )` Returns the log statement in a format consisting of the level, followed by " - " and then the message. For example, `INFO - "A message"` Returns the log statement in a format consisting of the level, followed by " - " and then the message. For example, `INFO - "A message"` #### Parameters $event ``LoggerLoggingEvent`` $event #### 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()`