apply method

String apply(
  1. String text,
  2. SemiLogLevel level
)

return your string with code style

Implementation

String apply(String text, SemiLogLevel level) {
  return getStyle(level).apply(text);
}