com.danidemi.jlubricant.slf4j.utils.CharsToLogMessagesPolicy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jlubricant-slf4j Show documentation
Show all versions of jlubricant-slf4j Show documentation
JLubricant extensions for slf4j
package com.danidemi.jlubricant.slf4j.utils;
/** Specify how a string should divided in log messages. */
public interface CharsToLogMessagesPolicy {
public interface Callback {
void log(String log);
}
void onWrite(char[] copyOfRange);
void setCallback(CharsToLogMessagesPolicy.Callback lubricantLoggerWriter);
void onFlush();
void onClose();
}