/*
 * 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
 *
 */
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)
     */
    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)
     */
    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)
     */
    public void warning(String msg) {
        // TODO Auto-generated method stub

    }

    /* (non-Javadoc)
     * @see com.prolixtech.utils.MboxLogger#info(java.lang.String)
     */
    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)
     */
    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.
     */
    public static MboxLogger Instance() {
        // TODO Auto-generated method stub
        return new NullLogger();
    }

}
