# Class LoggerAppenderPhp

LoggerAppenderPhp logs events by creating a PHP user-level message using the PHP's trigger_error()function.

This appender has no configurable parameters.

Levels are mapped as follows:

- level < WARN mapped to E_USER_NOTICE
- WARN <= level < ERROR mapped to E_USER_WARNING
- level >= ERROR mapped to E_USER_ERROR

  LoggerConfigurable
  LoggerAppender
  LoggerAppenderPhp

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

Methods summary
`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

Methods inherited from LoggerAppender
`__construct(), __destruct(), activateOptions(), addFilter(), clearFilters(), close(), 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 inherited from LoggerAppender
`$closed, $filter, $layout, $name, $requiresLayout, $threshold`