File: //var/opt/nydus/ops/primordial/log/__pycache__/envelopedata.cpython-39.pyc
a
�,�h� � @ s� d dl mZ d dlZd dlZd dlZd dlZd dlmZ d dlm Z e�
e�ZG dd� de�Z
G dd� de�ZG d d
� d
e�ZG dd� de�ZG d
d� de�ZG dd� de�ZG dd� de�ZdS )� )�OptionalN)�LogData)�IPc sR e Zd ZdZdZdZdZdZeeeefZdZ dZ
dZd Zd
d�� fdd
�Z
� ZS )�
ConfigLogDatazUStore configuration log data for passing to other logging classes and easy retrieval.�typeZsub_typeZ
datacenter�environmentZhfsZvhfs�localZLOCALN��returnc sN t � �� | �| j| j� | �| j| j� | �| j| j� | �| j | j
� d S �N)�super�__init__�set�
TYPE_FIELD�DEFAULT_TYPE�SUB_TYPE_FIELD�DEFAULT_SUB_TYPE�DATACENTER_FIELD�DEFAULT_DATACENTER�ENVIRONMENT_FIELD�DEFAULT_ENVIRONMENT��self�� __class__� �L/opt/nydus/tmp/pip-target-wkfpz8uv/lib/python/primordial/log/envelopedata.pyr
s
zConfigLogData.__init__)�__name__�
__module__�__qualname__�__doc__r r r r �FIELDSr r r r r
�
__classcell__r r r r r s r c sT e Zd ZdZdZdZefZd
eej dd�� fdd�
Z
ej dd�� fdd �Z� ZS )�PayloadLogDatazBExtract and store payload log data for parsing and easy retrieval.z1.0.0�linenoN��recordr
c s d| _ t� �|� d S )NT)Z
freefieldsr r
�r r&