}
private static class NoOpLoggerCreationService implements LoggerCreationService {
+ private static final Logger NO_OP_LOGGER = new NoOpLogger();
- private static final Logger NO_OP_LOGGER = new Logger() {
-
+ private static class NoOpLogger implements Logger {
@Override
public String getName() {
return "No-Op Logger";
@Override
public void metrics(String msg) {
+ //this is no_op_method
}
@Override
public void metrics(String msg, Object arg) {
+ //this is no_op_method
}
@Override
public void metrics(String msg, Object arg1, Object arg2) {
+ //this is no_op_method
}
@Override
public void metrics(String msg, Object... arguments) {
+ //this is no_op_method
}
@Override
public void metrics(String msg, Throwable t) {
+ //this is no_op_method
}
@Override
@Override
public void audit(String msg) {
+ //this is no_op_method
}
@Override
public void audit(String msg, Object arg) {
+ //this is no_op_method
}
@Override
public void audit(String msg, Object arg1, Object arg2) {
+ //this is no_op_method
}
@Override
public void audit(String msg, Object... arguments) {
+ //this is no_op_method
}
@Override
public void audit(String msg, Throwable t) {
+ //this is no_op_method
}
@Override
@Override
public void debug(String msg) {
+ //this is no_op_method
}
@Override
public void debug(String msg, Object arg) {
+ //this is no_op_method
}
@Override
public void debug(String msg, Object arg1, Object arg2) {
+ //this is no_op_method
}
@Override
public void debug(String msg, Object... arguments) {
+ //this is no_op_method
}
@Override
public void debug(String msg, Throwable t) {
+ //this is no_op_method
}
@Override
@Override
public void info(String msg) {
+ //this is no_op_method
}
@Override
public void info(String msg, Object arg) {
+ //this is no_op_method
}
@Override
public void info(String msg, Object arg1, Object arg2) {
+ //this is no_op_method
}
@Override
public void info(String msg, Object... arguments) {
+ //this is no_op_method
}
@Override
public void info(String msg, Throwable t) {
+ //this is no_op_method
}
@Override
@Override
public void warn(String msg) {
+ //this is no_op_method
}
@Override
public void warn(String msg, Object arg) {
+ //this is no_op_method
}
@Override
public void warn(String msg, Object... arguments) {
+ //this is no_op_method
}
@Override
public void warn(String msg, Object arg1, Object arg2) {
+ //this is no_op_method
}
@Override
public void warn(String msg, Throwable t) {
+ //this is no_op_method
}
@Override
@Override
public void error(String msg) {
+ //this is no_op_method
}
@Override
public void error(String msg, Object arg) {
+ //this is no_op_method
}
@Override
public void error(String msg, Object arg1, Object arg2) {
+ //this is no_op_method
}
@Override
public void error(String msg, Object... arguments) {
+ //this is no_op_method
}
@Override
public void error(String msg, Throwable t) {
+ //this is no_op_method
}
- };
+ }
@Override
public Logger getLogger(String className) {