Package com.elvishew.xlog.flattener
Interface Flattener2
-
- All Known Implementing Classes:
ClassicFlattener,DefaultFlattener,DefaultLogFlattener,PatternFlattener
public interface Flattener2The flattener used to flatten log elements(log time milliseconds, level, tag and message) to a single CharSequence.- Since:
- 1.6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.CharSequenceflatten(long timeMillis, int logLevel, java.lang.String tag, java.lang.String message)Flatten the log.
-
-
-
Method Detail
-
flatten
java.lang.CharSequence flatten(long timeMillis, int logLevel, java.lang.String tag, java.lang.String message)Flatten the log.- Parameters:
timeMillis- the time milliseconds of loglogLevel- the level of logtag- the tag of logmessage- the message of log- Returns:
- the formatted final log Charsequence
-
-