All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.javawebstack.httpserver.helper.JettyNoLog Maven / Gradle / Ivy

Go to download

This library provides a routing and request mapping stack on top of the well known and industry proven eclipse jetty http server. It also supports websockets.

There is a newer version: 1.0.2
Show newest version
package org.javawebstack.httpserver.helper;

import org.eclipse.jetty.util.log.AbstractLogger;
import org.eclipse.jetty.util.log.Logger;

public class JettyNoLog extends AbstractLogger implements Logger {

    protected Logger newLogger(String s) {
        return this;
    }

    public String getName() {
        return "NoLog";
    }

    public void warn(String s, Object... objects) {

    }

    public void warn(Throwable throwable) {

    }

    public void warn(String s, Throwable throwable) {

    }

    public void info(String s, Object... objects) {

    }

    public void info(Throwable throwable) {

    }

    public void info(String s, Throwable throwable) {

    }

    public boolean isDebugEnabled() {
        return false;
    }

    public void setDebugEnabled(boolean b) {

    }

    public void debug(String s, Object... objects) {

    }

    public void debug(Throwable throwable) {

    }

    public void debug(String s, Throwable throwable) {

    }

    public void ignore(Throwable throwable) {

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy