# Class LoggerAppenderEcho

LoggerAppenderEcho uses the PHP echo() function to output events.

This appender uses a layout.

# Configurable parameters:

- htmlLineBreaks - If set to true, a
  element will be inserted before each line break in the logged message. Default is false.

  LoggerConfigurable
  LoggerAppender
  LoggerAppenderEcho

Package: log4php\appenders
License: Apache License, Version 2.0
Version: $Revision: 1337820 $
Link: Appender documentation
Located at appenders/LoggerAppenderEcho.php

Methods summary
`public` | # `close( )` Releases any resources allocated by the appender. Releases any resources allocated by the appender. Derived appenders should override this method to perform proper closing procedures.

#### Overrides

`LoggerAppender::close()`
`public` | # `append( `LoggerLoggingEvent` $event )` Forwards the logging event to the destination. Forwards the logging event to the destination. Derived appenders should implement this method to perform actual logging.

#### Parameters

$event
  ``LoggerLoggingEvent``
  $event

`public` | # `setHtmlLineBreaks( boolean $value )` Sets the 'htmlLineBreaks' parameter. Sets the 'htmlLineBreaks' parameter.

#### Parameters

$value
  `boolean`
  $value

`public` | # `getHtmlLineBreaks( )` Returns the 'htmlLineBreaks' parameter. Returns the 'htmlLineBreaks' parameter.

#### Returns

boolean

Methods inherited from LoggerAppender
`__construct(), __destruct(), activateOptions(), addFilter(), clearFilters(), doAppend(), getDefaultLayout(), getFilter(), getFirstFilter(), getLayout(), getName(), getThreshold(), isAsSevereAsThreshold(), requiresLayout(), setLayout(), setName(), setThreshold(), warn()`

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

Properties summary
`protected boolean` | $firstAppend | `true` | # Used to mark first append. Set to false after first append. Used to mark first append. Set to false after first append.
`protected boolean` | $htmlLineBreaks | `false` | # If set to true, a element will be inserted before each line break in the logged message. Default value is false. @var boolean If set to true, a element will be inserted before each line break in the logged message. Default value is false. @var boolean

Properties inherited from LoggerAppender
`$closed, $filter, $layout, $name, $requiresLayout, $threshold`