shouldLog method

  1. @override
bool shouldLog(
  1. LogLevel level,
  2. Type type
)
override

Implementation

@override
bool shouldLog(LogLevel level, Type type) {
  return _types == null || (_types?.contains(type) ?? false);
}