
com.github.czyzby.kiwi.log.impl.DebugLogger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gdx-kiwi Show documentation
Show all versions of gdx-kiwi Show documentation
Guava-inspired set of utilities for LibGDX.
package com.github.czyzby.kiwi.log.impl;
import com.github.czyzby.kiwi.log.LoggerService;
/** Logs normally ignored exceptions as debug exceptions.
*
* @author MJ */
public class DebugLogger extends DefaultLogger {
public DebugLogger(final LoggerService service, final Class> forClass) {
super(service, forClass);
}
@Override
public void ignore(final Throwable exception) {
debug(exception, "Ignored exception.");
}
@Override
public void ignore(final Throwable exception, final String message) {
debug(exception, message);
}
@Override
public void ignore(final Throwable exception, final String message, final Object... arguments) {
debug(exception, message, arguments);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy