toLoggerType method

LoggerType toLoggerType()

Implementation

LoggerType toLoggerType() {
  switch (this) {
    case 'FileSystem':
      return LoggerType.fileSystem;
    case 'AWSCloudWatch':
      return LoggerType.awsCloudWatch;
  }
  throw Exception('$this is not known in enum LoggerType');
}