-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pikachu920
committed
May 13, 2018
1 parent
1bf8b8d
commit fc2d13d
Showing
2 changed files
with
84 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
package com.pikachu.webaddon.util; | ||
|
||
|
||
import org.eclipse.jetty.util.log.Logger; | ||
|
||
public class VoidLogger implements Logger { | ||
|
||
@Override | ||
public String getName() { | ||
return "VoidLogger"; | ||
} | ||
|
||
@Override | ||
public void warn(String msg, Object... args) { | ||
|
||
} | ||
|
||
@Override | ||
public void warn(Throwable thrown) { | ||
|
||
} | ||
|
||
@Override | ||
public void warn(String msg, Throwable thrown) { | ||
|
||
} | ||
|
||
@Override | ||
public void info(String msg, Object... args) { | ||
|
||
} | ||
|
||
@Override | ||
public void info(Throwable thrown) { | ||
|
||
} | ||
|
||
@Override | ||
public void info(String msg, Throwable thrown) { | ||
|
||
} | ||
|
||
@Override | ||
public boolean isDebugEnabled() { | ||
return false; | ||
} | ||
|
||
@Override | ||
public void setDebugEnabled(boolean enabled) { | ||
|
||
} | ||
|
||
@Override | ||
public void debug(String msg, Object... args) { | ||
|
||
} | ||
|
||
@Override | ||
public void debug(String msg, long value) { | ||
|
||
} | ||
|
||
@Override | ||
public void debug(Throwable thrown) { | ||
|
||
} | ||
|
||
@Override | ||
public void debug(String msg, Throwable thrown) { | ||
|
||
} | ||
|
||
@Override | ||
public Logger getLogger(String name) { | ||
return new VoidLogger(); | ||
} | ||
|
||
@Override | ||
public void ignore(Throwable ignored) { | ||
|
||
} | ||
} |