LogLevel.fromValue constructor

LogLevel.fromValue(
  1. Object? value
)

Restore log level from value. If value is not found, then LogLevel.info is returned.

Implementation

factory LogLevel.fromValue(Object? value) =>
    _table[value] ?? const LogLevel.info();