python-sdk-remote 0.0.165__py3-none-any.whl → 0.0.167__py3-none-any.whl
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.
- python_sdk_remote/mini_logger.py +1 -9
- python_sdk_remote/version.py +1 -1
- {python_sdk_remote-0.0.165.dist-info → python_sdk_remote-0.0.167.dist-info}/METADATA +1 -1
- {python_sdk_remote-0.0.165.dist-info → python_sdk_remote-0.0.167.dist-info}/RECORD +6 -6
- {python_sdk_remote-0.0.165.dist-info → python_sdk_remote-0.0.167.dist-info}/WHEEL +0 -0
- {python_sdk_remote-0.0.165.dist-info → python_sdk_remote-0.0.167.dist-info}/top_level.txt +0 -0
python_sdk_remote/mini_logger.py
CHANGED
|
@@ -24,14 +24,6 @@ if LOGGER_MINIMUM_SEVERITY.isdigit():
|
|
|
24
24
|
else:
|
|
25
25
|
LOGGER_MINIMUM_SEVERITY = LogMessageSeverity.CRITICAL.name
|
|
26
26
|
|
|
27
|
-
# Option #1 ( I think we should delete it)
|
|
28
|
-
# Map the internal "INFORMATION" string to Python's native standard "INFO"
|
|
29
|
-
# python_logging_level = "INFO" if LOGGER_MINIMUM_SEVERITY == "INFORMATION" else LOGGER_MINIMUM_SEVERITY
|
|
30
|
-
# logging.basicConfig(level=python_logging_level, stream=sys.stdout,
|
|
31
|
-
# format="%(asctime)s - %(message)s")
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
# Option #2
|
|
35
27
|
# Some of our severity names (LogMessageSeverity) aren't recognized by Python's stdlib
|
|
36
28
|
# logging module, which only knows DEBUG/INFO/WARNING/ERROR/CRITICAL - translate before basicConfig
|
|
37
29
|
_CUSTOM_TO_STDLIB_LEVEL_NAME = {
|
|
@@ -41,9 +33,9 @@ _CUSTOM_TO_STDLIB_LEVEL_NAME = {
|
|
|
41
33
|
"EXCEPTION": "ERROR",
|
|
42
34
|
}
|
|
43
35
|
LOGGER_MINIMUM_SEVERITY = _CUSTOM_TO_STDLIB_LEVEL_NAME.get(LOGGER_MINIMUM_SEVERITY, LOGGER_MINIMUM_SEVERITY)
|
|
36
|
+
|
|
44
37
|
logging.basicConfig(level=LOGGER_MINIMUM_SEVERITY, stream=sys.stdout,
|
|
45
38
|
format="%(asctime)s - %(message)s")
|
|
46
|
-
|
|
47
39
|
logger = logging.getLogger(__name__)
|
|
48
40
|
|
|
49
41
|
|
python_sdk_remote/version.py
CHANGED
|
@@ -7,7 +7,7 @@ python_sdk_remote/generic_crud.py,sha256=jzmR27kr8Pnf4Gk90SKoxbM5ufLsOr2ofekRtcH
|
|
|
7
7
|
python_sdk_remote/http_response.py,sha256=fjjLPvxxTaUnovF8REpsMgknhpscKKkymH3AKnMQcDA,12441
|
|
8
8
|
python_sdk_remote/is_test_data.py,sha256=zbUz-Juj7vOPG9TtIttMIBWFxbsOs4-TuR1RYfGNkp4,92
|
|
9
9
|
python_sdk_remote/item.py,sha256=6DQs1nBKbEmnHjE50vZtkMr14ECS_9b8cvE7ItPAbhE,322
|
|
10
|
-
python_sdk_remote/mini_logger.py,sha256=
|
|
10
|
+
python_sdk_remote/mini_logger.py,sha256=D4Zc5bSwSOcVamocokuw4568hwrp4jZ0bxIDoaqa9Zk,5824
|
|
11
11
|
python_sdk_remote/our_obfuscation.py,sha256=YrQksRpJ_AwEio4xHq_TE8BQDXNGUbCQ-5E0OkcXYeM,10717
|
|
12
12
|
python_sdk_remote/our_object.py,sha256=SjGs2g82ENivILmVIXg1mTxedBQ3rLS-nbigYjGUtFk,5470
|
|
13
13
|
python_sdk_remote/our_objects.py,sha256=CUcuh5bYaO2JiVKu_hMsPqiWOuURMge0NBnnS_UpWZY,254
|
|
@@ -19,8 +19,8 @@ python_sdk_remote/unified_json.py,sha256=AmeUzBsQh2N9z9XRo1Aya5qPvcV8dzRa4-O2jlC
|
|
|
19
19
|
python_sdk_remote/utilities.py,sha256=hKxeqU0D3G_4R3nQIMj941STOMCZE8WDzSXWdIc1ySE,23921
|
|
20
20
|
python_sdk_remote/valid_json_versions.py,sha256=zVtvhsEDKkfK3o8crdcP6YWjLnzh-OykWGPT7vghb6k,147
|
|
21
21
|
python_sdk_remote/validate_environment.py,sha256=VQKta418TmJwkUGXp0Rorhy65YANoNVgg86BIYPf2Wc,2321
|
|
22
|
-
python_sdk_remote/version.py,sha256=
|
|
23
|
-
python_sdk_remote-0.0.
|
|
24
|
-
python_sdk_remote-0.0.
|
|
25
|
-
python_sdk_remote-0.0.
|
|
26
|
-
python_sdk_remote-0.0.
|
|
22
|
+
python_sdk_remote/version.py,sha256=nJV1jCPXMEluCrvcEBWwM8BS6DzFTv7pULfqjGXs3uA,421
|
|
23
|
+
python_sdk_remote-0.0.167.dist-info/METADATA,sha256=QCOkvT2-JDP0rVB9j8azhdlxhuq5FPKJ-ET6oSpgqU0,729
|
|
24
|
+
python_sdk_remote-0.0.167.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
|
25
|
+
python_sdk_remote-0.0.167.dist-info/top_level.txt,sha256=JTpEq_svPlI5hTlPq30Ne-NkR-u5464gjVDP2U74PvE,18
|
|
26
|
+
python_sdk_remote-0.0.167.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|