45 lines
2.9 KiB
Python
45 lines
2.9 KiB
Python
|
|
# -*- coding: utf-8 -*-
|
||
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
||
|
|
# source: cmvr/config/logger_config/logger_config.proto
|
||
|
|
# Protobuf Python Version: 6.31.1
|
||
|
|
"""Generated protocol buffer code."""
|
||
|
|
from google.protobuf import descriptor as _descriptor
|
||
|
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
||
|
|
from google.protobuf import runtime_version as _runtime_version
|
||
|
|
from google.protobuf import symbol_database as _symbol_database
|
||
|
|
from google.protobuf.internal import builder as _builder
|
||
|
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
||
|
|
_runtime_version.Domain.PUBLIC,
|
||
|
|
6,
|
||
|
|
31,
|
||
|
|
1,
|
||
|
|
'',
|
||
|
|
'cmvr/config/logger_config/logger_config.proto'
|
||
|
|
)
|
||
|
|
# @@protoc_insertion_point(imports)
|
||
|
|
|
||
|
|
_sym_db = _symbol_database.Default()
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-cmvr/config/logger_config/logger_config.proto\x12\x0b\x63mvr.config\"P\n\x08LogRoute\x12$\n\x05level\x18\x01 \x01(\x0e\x32\x15.cmvr.config.LogLevel\x12\x10\n\x08terminal\x18\x02 \x01(\x08\x12\x0c\n\x04\x66ile\x18\x03 \x01(\x08\"\xc5\x01\n\tLogFormat\x12\x16\n\tshow_time\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x17\n\nshow_level\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x1b\n\x0eshow_thread_id\x18\x03 \x01(\x08H\x02\x88\x01\x01\x12!\n\x14show_source_location\x18\x04 \x01(\x08H\x03\x88\x01\x01\x42\x0c\n\n_show_timeB\r\n\x0b_show_levelB\x11\n\x0f_show_thread_idB\x17\n\x15_show_source_location\"\xd8\x01\n\x0cLoggerConfig\x12,\n\rminimum_level\x18\x01 \x01(\x0e\x32\x15.cmvr.config.LogLevel\x12%\n\x06routes\x18\x02 \x03(\x0b\x32\x15.cmvr.config.LogRoute\x12\x11\n\tdirectory\x18\x03 \x01(\t\x12\x18\n\x10max_file_size_mb\x18\x04 \x01(\x05\x12\x1e\n\x16\x66lush_interval_seconds\x18\x05 \x01(\x05\x12&\n\x06\x66ormat\x18\x06 \x01(\x0b\x32\x16.cmvr.config.LogFormat\"=\n\x10LoggerRootConfig\x12)\n\x06logger\x18\x01 \x01(\x0b\x32\x19.cmvr.config.LoggerConfig*\x8f\x01\n\x08LogLevel\x12\x19\n\x15LOG_LEVEL_UNSPECIFIED\x10\x00\x12\x13\n\x0fLOG_LEVEL_DEBUG\x10\x01\x12\x12\n\x0eLOG_LEVEL_INFO\x10\x02\x12\x15\n\x11LOG_LEVEL_WARNING\x10\x03\x12\x13\n\x0fLOG_LEVEL_ERROR\x10\x04\x12\x13\n\x0fLOG_LEVEL_FATAL\x10\x05\x62\x06proto3')
|
||
|
|
|
||
|
|
_globals = globals()
|
||
|
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
||
|
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cmvr.config.logger_config.logger_config_pb2', _globals)
|
||
|
|
if not _descriptor._USE_C_DESCRIPTORS:
|
||
|
|
DESCRIPTOR._loaded_options = None
|
||
|
|
_globals['_LOGLEVEL']._serialized_start=627
|
||
|
|
_globals['_LOGLEVEL']._serialized_end=770
|
||
|
|
_globals['_LOGROUTE']._serialized_start=62
|
||
|
|
_globals['_LOGROUTE']._serialized_end=142
|
||
|
|
_globals['_LOGFORMAT']._serialized_start=145
|
||
|
|
_globals['_LOGFORMAT']._serialized_end=342
|
||
|
|
_globals['_LOGGERCONFIG']._serialized_start=345
|
||
|
|
_globals['_LOGGERCONFIG']._serialized_end=561
|
||
|
|
_globals['_LOGGERROOTCONFIG']._serialized_start=563
|
||
|
|
_globals['_LOGGERROOTCONFIG']._serialized_end=624
|
||
|
|
# @@protoc_insertion_point(module_scope)
|