github.com/binkynet/BinkyNet@v1.12.1-0.20240421190447-da4e34c20be0/dart/lib/logprovider.pbenum.dart (about) 1 /// 2 // Generated code. Do not modify. 3 // source: logprovider.proto 4 // 5 // @dart = 2.12 6 // ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name 7 8 // ignore_for_file: UNDEFINED_SHOWN_NAME 9 import 'dart:core' as $core; 10 import 'package:protobuf/protobuf.dart' as $pb; 11 12 class LogLevel extends $pb.ProtobufEnum { 13 static const LogLevel TRACE = LogLevel._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'TRACE'); 14 static const LogLevel DEBUG = LogLevel._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'DEBUG'); 15 static const LogLevel INFO = LogLevel._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'INFO'); 16 static const LogLevel WARNING = LogLevel._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'WARNING'); 17 static const LogLevel ERROR = LogLevel._(4, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'ERROR'); 18 static const LogLevel FATAL = LogLevel._(5, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'FATAL'); 19 20 static const $core.List<LogLevel> values = <LogLevel> [ 21 TRACE, 22 DEBUG, 23 INFO, 24 WARNING, 25 ERROR, 26 FATAL, 27 ]; 28 29 static final $core.Map<$core.int, LogLevel> _byValue = $pb.ProtobufEnum.initByValue(values); 30 static LogLevel? valueOf($core.int value) => _byValue[value]; 31 32 const LogLevel._($core.int v, $core.String n) : super(v, n); 33 } 34