fromName static method

LogLevel fromName(
  1. String name
)

Implementation

static LogLevel fromName(String name) =>
      LogLevel.values.firstWhere((element) => element.name == name);