Logo Search packages:      
Sourcecode: jaminid version File versions  Download package

NullLogger.java

/*
 * Created on Dec 24, 2004
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.prolixtech.utils;

import java.util.logging.Level;
import java.util.logging.Logger;

import com.prolixtech.jaminid.Request;


/**
 * @author Constantinos Michael
 *
 */
00019 public class NullLogger extends Object implements MboxLogger {


    /* (non-Javadoc)
     * @see com.prolixtech.utils.MboxLogger#baloon(java.lang.String, java.lang.String)
     */
    public void baloon(String msg, String title) {
        // TODO Auto-generated method stub

    }

    /* (non-Javadoc)
     * @see com.prolixtech.utils.MboxLogger#getLogger()
     */
    public Logger getLogger() {
        // TODO Auto-generated method stub
        return null;
    }

    /* (non-Javadoc)
     * @see com.prolixtech.utils.MboxLogger#log(java.util.logging.Level, java.lang.String)
     */
00041     public void log(Level vel, String msg) {
        // TODO Auto-generated method stub

    }

    /* (non-Javadoc)
     * @see com.prolixtech.utils.MboxLogger#fine(java.lang.String)
     */
    public void fine(String msg) {
        // TODO Auto-generated method stub

    }

    /* (non-Javadoc)
     * @see com.prolixtech.utils.MboxLogger#severe(java.lang.String)
     */
00057     public void severe(String msg) {
        System.out.println(msg);
        // TODO Auto-generated method stub

    }

    /* (non-Javadoc)
     * @see com.prolixtech.utils.MboxLogger#warning(java.lang.String)
     */
00066     public void warning(String msg) {
        // TODO Auto-generated method stub

    }

    /* (non-Javadoc)
     * @see com.prolixtech.utils.MboxLogger#info(java.lang.String)
     */
00074     public void info(String msg) {
        // TODO Auto-generated method stub

    }

    /* (non-Javadoc)
     * @see com.prolixtech.utils.MboxLogger#sql(java.lang.String)
     */
    public void sql(String msg) {
        // TODO Auto-generated method stub

    }

    /* (non-Javadoc)
     * @see com.prolixtech.utils.MboxLogger#http(com.prolixtech.minihttp.Request, java.lang.String)
     */
00090     public void http(Request req, String msg) {
        // TODO Auto-generated method stub

    }

    /* (non-Javadoc)
     * @see com.prolixtech.utils.MboxLogger#disableBaloons()
     */
    public void disableBaloons() {
        // TODO Auto-generated method stub

    }

    /* (non-Javadoc)
     * @see com.prolixtech.utils.MboxLogger#exception(java.util.logging.Level, java.lang.String, java.lang.Exception)
     */
    public void exception(Level x, String msg, Exception e) {
        this.exception(msg,e);

    }

    /* (non-Javadoc)
     * @see com.prolixtech.utils.MboxLogger#exception(java.lang.String, java.lang.Exception)
     */
    public void exception(String msg, Exception e) {
        System.out.println(msg);
        e.printStackTrace();

    }

    /**
     * @return the a new instance of the logger.
     */
00123     public static MboxLogger Instance() {
        // TODO Auto-generated method stub
        return new NullLogger();
    }

}

Generated by  Doxygen 1.6.0   Back to index