Back to project page sdk-hyphenation.
The source code is released under:
GNU Lesser General Public License
If you think the Android project sdk-hyphenation listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.silpa.hyphenation.util; //ww w. j a v a2s . co m import java.util.logging.Level; import java.util.logging.Logger; public final class LoggingErrorHandler implements ErrorHandler { public Logger log; public LoggingErrorHandler(Logger log) { this.log = log; } public void debug(String domain, String message) { log.fine(domain + " - " + message); } public void info(String s) { log.info(s); } public void warning(String s) { log.warning(s); } public void error(String s) { log.severe(s); } public void exception(String s, Exception e) { log.log(Level.SEVERE, s, e); } }