n2n Page Rocket 1 API

n2n\log4php\appender

­Appender­Pool

AppenderPool
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.

Property summary

Modifier and Type Property
static public appenders

Methods summary

Modifier and Type Method
public static add ( LoggerAppender appender )
public static LoggerAppender get ( string name )
public static delete ( string name )
public static array getAppenders ( )
public static boolean exists ( string name )
public static clear ( )

Properties in detail

  • appenders

    public ­ static ­ ­ appenders

Methods in detail

  • add

    public static add ( LoggerAppender appender )
    Adds an appender to the pool. The appender must be named for this operation.
  • get

    LoggerAppender public static get ( string name )
    Retrieves an appender from the pool by name.
    param
    string name Name of the appender to retrieve.
    return
  • delete

    public static delete ( string name )
    Removes an appender from the pool by name.
    param
    string name Name of the appender to remove.
  • getAppenders

    array public static getAppenders ( )
    Returns all appenders from the pool.
    return
    array
  • exists

    boolean public static exists ( string name )
    Checks whether an appender exists in the pool.
    param
    string name Name of the appender to look for.
    return
    boolean
  • clear

    public static clear ( )
    Clears all appenders from the pool.