Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » util » [javadoc | source]
org.apache.openejb.util
public class: Logger [javadoc | source]
java.lang.Object
   org.apache.openejb.util.Logger
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.
Constructor:
 public Logger(LogCategory category,
    LogStream logStream,
    String baseName) 
Method from org.apache.openejb.util.Logger Summary:
configure,   debug,   debug,   debug,   debug,   error,   error,   error,   error,   fatal,   fatal,   fatal,   fatal,   getChildLogger,   getInstance,   getInstance,   info,   info,   info,   info,   isDebugEnabled,   isErrorEnabled,   isFatalEnabled,   isInfoEnabled,   isWarningEnabled,   warning,   warning,   warning,   warning
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openejb.util.Logger Detail:
 public static  void configure() 
 public String debug(String message) 
    If this level is enabled, then it finds a message for the given key and logs it
 public String debug(String message,
    Object args) 
 public String debug(String message,
    Throwable t) 
 public String debug(String message,
    Throwable t,
    Object args) 
 public String error(String message) 
 public String error(String message,
    Object args) 
 public String error(String message,
    Throwable t) 
 public String error(String message,
    Throwable t,
    Object args) 
 public String fatal(String message) 
 public String fatal(String message,
    Object args) 
 public String fatal(String message,
    Throwable t) 
 public String fatal(String message,
    Throwable t,
    Object args) 
 public Logger getChildLogger(String child) 
 public static Logger getInstance(LogCategory category,
    String baseName) 
    Finds a Logger from the cache and returns it. If not found in cache then builds a Logger and returns it.
 public static Logger getInstance(LogCategory category,
    Class clazz) 
 public String info(String message) 
 public String info(String message,
    Object args) 
 public String info(String message,
    Throwable t) 
 public String info(String message,
    Throwable t,
    Object args) 
 public boolean isDebugEnabled() 
 public boolean isErrorEnabled() 
 public boolean isFatalEnabled() 
 public boolean isInfoEnabled() 
 public boolean isWarningEnabled() 
 public String warning(String message) 
 public String warning(String message,
    Object args) 
 public String warning(String message,
    Throwable t) 
 public String warning(String message,
    Throwable t,
    Object args)