⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 quietcategory.java

📁 aglet的部分源码
💻 JAVA
字号:
package org.aglets.log.quiet;import org.aglets.log.LogCategory;/** *  Logging category that does absolutely nothing.  This will * probably be the default setup. * * @version    $Revision: 1.1.1.1 $ $Date: 2001/07/28 06:34:39 $ $Author: kbd4hire $ * @since * @author     Robert Bergstrom * @created    July 16, 2001 */public class QuietCategory implements LogCategory {    /**     *  Check whether this category is enabled for the <code>DEBUG</code>     *  priority. <p>     * This version always returns true.     */    public boolean isDebugEnabled() {        return true;    }    /**     *  Logs a message at fatal priority.     *     * @param  msg  Message to be logged.     * @since       1.0     */    public void fatal(Object msg) {            }    /**     *  Logs a message at error priority.     *     * @param  msg  Message to be logged.     * @since       1.0     */    public void error(Object msg) {            }    /**     *  Logs a message at error priority and passes an exception for logging.     *     * @param  msg  Message to be logged.     * @param  exc  Description of Parameter     * @since       1.0     */    public void error(Object msg, Exception exc) {            }    /**     *  Logs a message at warn priority.     *     * @param  msg  Message to be logged.     * @since       1.0     */    public void warn(Object msg) {            }    /**     *  Logs a mesasge at info priority.     *     * @param  msg  Message to be logged.     * @since       1.0     */    public void info(Object msg) {            }    /**     *  Logs a message at debug priority.     *     * @param  msg  Message to be logged.     * @since       1.0     */    public void debug(Object msg) {            }    /**     * Constructor     * @param name Name of category used as a prefix to the log messages.     */    public QuietCategory( String name ) {            }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -