1806N/A/*
2362N/A * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
1806N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1806N/A *
1806N/A * This code is free software; you can redistribute it and/or modify it
1806N/A * under the terms of the GNU General Public License version 2 only, as
2362N/A * published by the Free Software Foundation. Oracle designates this
1806N/A * particular file as subject to the "Classpath" exception as provided
2362N/A * by Oracle in the LICENSE file that accompanied this code.
1806N/A *
1806N/A * This code is distributed in the hope that it will be useful, but WITHOUT
1806N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1806N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1806N/A * version 2 for more details (a copy is included in the LICENSE file that
1806N/A * accompanied this code).
1806N/A *
1806N/A * You should have received a copy of the GNU General Public License version
1806N/A * 2 along with this work; if not, write to the Free Software Foundation,
1806N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1806N/A *
2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A * or visit www.oracle.com if you need additional information or have any
2362N/A * questions.
1806N/A */
1806N/A
1806N/A
1806N/Apackage sun.util.logging;
1806N/A
1806N/A/**
1806N/A * A proxy interface for the java.util.logging support.
1806N/A *
1806N/A * @see sun.util.logging.LoggingSupport
1806N/A */
1806N/Apublic interface LoggingProxy {
1806N/A // Methods to bridge java.util.logging.Logger methods
1806N/A public Object getLogger(String name);
1806N/A
1806N/A public Object getLevel(Object logger);
1806N/A
1806N/A public void setLevel(Object logger, Object newLevel);
1806N/A
1806N/A public boolean isLoggable(Object logger, Object level);
1806N/A
1806N/A public void log(Object logger, Object level, String msg);
1806N/A
1806N/A public void log(Object logger, Object level, String msg, Throwable t);
1806N/A
1806N/A public void log(Object logger, Object level, String msg, Object... params);
1806N/A
1806N/A // Methods to bridge java.util.logging.LoggingMXBean methods
1806N/A public java.util.List<String> getLoggerNames();
1806N/A
1806N/A public String getLoggerLevel(String loggerName);
1806N/A
1806N/A public void setLoggerLevel(String loggerName, String levelName);
1806N/A
1806N/A public String getParentLoggerName(String loggerName);
1806N/A
1806N/A // Methods to bridge Level.parse() and Level.getName() method
1806N/A public Object parseLevel(String levelName);
1806N/A
1806N/A public String getLevelName(Object level);
3888N/A
6045N/A public int getLevelValue(Object level);
6045N/A
3888N/A // return the logging property
3888N/A public String getProperty(String key);
1806N/A}