intercept method

void intercept(
  1. Object? message,
  2. LogType logType
)

Implementation

void intercept(Object? message, LogType logType) {
  for (var interceptor in interceptors) {
    interceptor.log(message, logType);
  }
}