## Class LoggerLayoutSimple

Description

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

would result in:

`INFO - Hello World!`

- version: $Revision: 1213283 $

Located in /log4php/layouts/LoggerLayoutSimple.php (line 41)

    LoggerConfigurable
       |
       --LoggerLayout
          |
          --LoggerLayoutSimple

Method Summary
string format (LoggerLoggingEvent $event)
Methods
format (line 51)

Returns the log statement in a format consisting of the

level, followed by " - " and then the message. For example, `INFO - "A message"`

- access: public

string format (LoggerLoggingEvent $event)

- LoggerLoggingEvent $event

Redefinition of:

LoggerLayout::format()
  Override this method to create your own layout format.

#### 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 Mon, 02 Feb 2026 13:59:50 +0900 by phpDocumentor 1.4.4