custom method

SemiLogLevelData custom(
  1. List<SemiLogContent> contents, [
  2. String separator = ' '
])

Implementation

SemiLogLevelData custom(List<SemiLogContent> contents,
    [String separator = ' ']) {
  return SemiLogLevelData(
    SemiLogLevel.print,
    contents.map((e) => e.apply()).join(separator),
  );
}