n2n Page Rocket 1 API

n2n\log4php\layout

­Layout­Xml

LayoutXml extends LoggerLayout
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Constant summary

Property summary

Modifier and Type Property
protected boolean locationInfo
protected boolean log4jNamespace
protected namespace
protected namespacePrefix

Methods summary

Modifier and Type Method
public activateOptions ( )
public string getHeader ( )
public string format ( LoggingEvent event )
public string getFooter ( )
public boolean getLocationInfo ( )
public setLocationInfo ( unknown flag )
public boolean getLog4jNamespace ( )
public setLog4jNamespace ( unknown flag )

Constants in detail

  • LOG4J_NS_PREFIX

    ­ const LOG4J_NS_PREFIX ­
  • LOG4J_NS

    ­ const LOG4J_NS ­
  • LOG4PHP_NS_PREFIX

    ­ const LOG4PHP_NS_PREFIX ­
  • LOG4PHP_NS

    ­ const LOG4PHP_NS ­
  • CDATA_START

    ­ const CDATA_START ­
  • CDATA_END

    ­ const CDATA_END ­
  • CDATA_PSEUDO_END

    ­ const CDATA_PSEUDO_END ­
  • CDATA_EMBEDDED_END

    ­ const CDATA_EMBEDDED_END ­

Properties in detail

  • locationInfo

    protected ­ ­ boolean ­ locationInfo
    If set to true then the file name and line number of the origin of the log statement will be output.
    var
    boolean
  • log4jNamespace

    protected ­ ­ boolean ­ log4jNamespace
    If set to true, log4j namespace will be used instead of the log4php namespace.
    var
    boolean
  • namespace

    protected ­ ­ ­ namespace
  • namespacePrefix

    protected ­ ­ ­ namespacePrefix

Methods in detail

  • activateOptions

    public activateOptions ( )
  • getHeader

    string public getHeader ( )
    return
    string
  • format

    string public format ( LoggingEvent event )
    Formats a LoggingEvent in conformance with the log4php.dtd.
    param
    return
    string
  • getFooter

    string public getFooter ( )
    return
    string
  • getLocationInfo

    boolean public getLocationInfo ( )
    Whether or not file name and line number will be included in the output.
    return
    boolean
  • setLocationInfo

    public setLocationInfo ( unknown flag )
    The $locationInfo option takes a boolean value. By default, it is set to false which means there will be no location information output by this layout. If the the option is set to true, then the file name and line number of the statement at the origin of the log statement will be output.
  • getLog4jNamespace

    boolean public getLog4jNamespace ( )
    return
    boolean
  • setLog4jNamespace

    public setLog4jNamespace ( unknown flag )
    param
    boolean