Back to project page slf4android.
The source code is released under:
MIT License
If you think the Android project slf4android 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 pl.brightinventions.slf4android; //from ww w .ja v a 2 s. c o m import java.util.logging.Formatter; import java.util.logging.LogRecord; class LogRecordFormatterUtilFormatterAdapter extends Formatter { private final LogRecordFormatter formatter; public LogRecordFormatterUtilFormatterAdapter(LogRecordFormatter formatter) { this.formatter = formatter; } @Override public String format(LogRecord r) { return formatter.format(pl.brightinventions.slf4android.LogRecord.fromRecord(r)); } }