ActionStreamer 0.2.20__tar.gz → 0.2.22__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/LogMessage/LogMessage.py +4 -3
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/PKG-INFO +1 -1
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/pyproject.toml +1 -1
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/CommonFunctions/CommonFunctions.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/CommonFunctions/Wifi/Wifi.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/CommonFunctions/Wifi/__init__.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/CommonFunctions/__init__.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/Config/Config.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/Config/__init__.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/Device/Device.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/Device/__init__.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/Model/Model.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/Model/__init__.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/API/API.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/API/__init__.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/Event/Event.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/Event/__init__.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/File/File.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/File/__init__.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/Health/Health.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/Health/__init__.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/LogMessage/__init__.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/Patch/Patch.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/Patch/__init__.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/VideoClip/VideoClip.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/VideoClip/__init__.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/__init__.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/__init__.py +0 -0
- {actionstreamer-0.2.20 → actionstreamer-0.2.22}/README.md +0 -0
{actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/LogMessage/LogMessage.py
RENAMED
|
@@ -2,13 +2,14 @@ import datetime
|
|
|
2
2
|
import json
|
|
3
3
|
|
|
4
4
|
import ActionStreamer.CommonFunctions
|
|
5
|
+
from ActionStreamer.Config import LogConfig
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
def create_log_message(log_config, message, log_to_console=True):
|
|
7
|
+
def create_log_message(log_config: LogConfig, message, log_to_console=True):
|
|
8
8
|
|
|
9
9
|
try:
|
|
10
10
|
if (log_to_console):
|
|
11
|
-
|
|
11
|
+
agent_name = str(log_config.agent_type) + "Agent:" + str(log_config.agent_index) + "_" + str(log_config.agent_version)
|
|
12
|
+
ActionStreamer.CommonFunctions.log_to_console(message, agent_name)
|
|
12
13
|
|
|
13
14
|
utc_now = datetime.datetime.now(datetime.timezone.utc)
|
|
14
15
|
post_data = {"deviceSerial":log_config.device_name, "agentType":log_config.agent_type, "agentVersion":log_config.agent_version, "agentIndex":log_config.agent_index, "processID":log_config.process_id, "message":message, "logDate": utc_now}
|
{actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/CommonFunctions/CommonFunctions.py
RENAMED
|
File without changes
|
|
File without changes
|
{actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/CommonFunctions/Wifi/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/Health/__init__.py
RENAMED
|
File without changes
|
{actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/LogMessage/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/VideoClip/VideoClip.py
RENAMED
|
File without changes
|
{actionstreamer-0.2.20 → actionstreamer-0.2.22}/ActionStreamer/WebService/VideoClip/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|