n2n Page Rocket 1 API

n2n\log4php\filter\level

­Level­Range

LevelRange extends LoggerFilter
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
protected boolean acceptOnMatch
protected LoggerLevel levelMin
protected LoggerLevel levelMax

Methods summary

Modifier and Type Method
public setAcceptOnMatch ( boolean acceptOnMatch )
public setLevelMin ( unknown level )
public setLevelMax ( unknown level )
public integer decide ( LoggingEvent event )

Properties in detail

  • acceptOnMatch

    protected ­ ­ boolean ­ acceptOnMatch
    var
    boolean
  • levelMin

    protected ­ ­ LoggerLevel ­ levelMin
    var
    LoggerLevel
  • levelMax

    protected ­ ­ LoggerLevel ­ levelMax
    var
    LoggerLevel

Methods in detail

  • setAcceptOnMatch

    public setAcceptOnMatch ( boolean acceptOnMatch )
    param
    boolean acceptOnMatch
  • setLevelMin

    public setLevelMin ( unknown level )
    param
    string l the level min to match
  • setLevelMax

    public setLevelMax ( unknown level )
    param
    string l the level max to match
  • decide

    integer public decide ( LoggingEvent event )
    Return the decision of this filter.
    param
    return
    integer