orionis 0.63.0__py3-none-any.whl → 0.66.0__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.
- orionis/framework.py +1 -1
- orionis/luminate/facades/log/log_facade.py +6 -16
- {orionis-0.63.0.dist-info → orionis-0.66.0.dist-info}/METADATA +1 -1
- {orionis-0.63.0.dist-info → orionis-0.66.0.dist-info}/RECORD +8 -8
- {orionis-0.63.0.dist-info → orionis-0.66.0.dist-info}/LICENCE +0 -0
- {orionis-0.63.0.dist-info → orionis-0.66.0.dist-info}/WHEEL +0 -0
- {orionis-0.63.0.dist-info → orionis-0.66.0.dist-info}/entry_points.txt +0 -0
- {orionis-0.63.0.dist-info → orionis-0.66.0.dist-info}/top_level.txt +0 -0
orionis/framework.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
from orionis.contracts.facades.log.i_log_facade import ILog
|
2
|
-
from orionis.luminate.
|
2
|
+
from orionis.luminate.container.container import Container
|
3
3
|
from orionis.luminate.services.log.log_service import LogguerService
|
4
4
|
|
5
5
|
class Log(ILog):
|
@@ -34,9 +34,7 @@ class Log(ILog):
|
|
34
34
|
message : str
|
35
35
|
The message to log.
|
36
36
|
"""
|
37
|
-
|
38
|
-
log_service: LogguerService = app.container.make(LogguerService)
|
39
|
-
log_service.info(message)
|
37
|
+
Container().make(LogguerService).info(message)
|
40
38
|
|
41
39
|
@staticmethod
|
42
40
|
def error(message: str) -> None:
|
@@ -48,9 +46,7 @@ class Log(ILog):
|
|
48
46
|
message : str
|
49
47
|
The message to log.
|
50
48
|
"""
|
51
|
-
|
52
|
-
log_service: LogguerService = app.container.make(LogguerService)
|
53
|
-
log_service.error(message)
|
49
|
+
Container().make(LogguerService).error(message)
|
54
50
|
|
55
51
|
@staticmethod
|
56
52
|
def success(message: str) -> None:
|
@@ -62,9 +58,7 @@ class Log(ILog):
|
|
62
58
|
message : str
|
63
59
|
The message to log.
|
64
60
|
"""
|
65
|
-
|
66
|
-
log_service: LogguerService = app.container.make(LogguerService)
|
67
|
-
log_service.success(message)
|
61
|
+
Container().make(LogguerService).success(message)
|
68
62
|
|
69
63
|
@staticmethod
|
70
64
|
def warning(message: str) -> None:
|
@@ -76,9 +70,7 @@ class Log(ILog):
|
|
76
70
|
message : str
|
77
71
|
The message to log.
|
78
72
|
"""
|
79
|
-
|
80
|
-
log_service: LogguerService = app.container.make(LogguerService)
|
81
|
-
log_service.warning(message)
|
73
|
+
Container().make(LogguerService).warning(message)
|
82
74
|
|
83
75
|
@staticmethod
|
84
76
|
def debug(message: str) -> None:
|
@@ -90,6 +82,4 @@ class Log(ILog):
|
|
90
82
|
message : str
|
91
83
|
The message to log.
|
92
84
|
"""
|
93
|
-
|
94
|
-
log_service: LogguerService = app.container.make(LogguerService)
|
95
|
-
log_service.debug(message)
|
85
|
+
Container().make(LogguerService).debug(message)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
orionis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
orionis/cli_manager.py,sha256=0bM-hABXJSoPGuvEgnqeaj9qcLP8VjTQ3z9Mb0TSEUI,1381
|
3
|
-
orionis/framework.py,sha256=
|
3
|
+
orionis/framework.py,sha256=SFegmp7F_hzTIxb36GqTwVkDaEe2fhqWP2M77zf-QEg,1386
|
4
4
|
orionis/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
orionis/contracts/bootstrap/i_command_bootstrapper.py,sha256=cfpYWSlNhOY1q_C9o0H7F381OoM0Oh0qaeqP-c85nzk,2457
|
6
6
|
orionis/contracts/bootstrap/i_config_bootstrapper.py,sha256=d2TXT74H2fCBbzWgrt9-ZG11S_H_YPQOEcJoIOrsgb0,4462
|
@@ -105,7 +105,7 @@ orionis/luminate/facades/environment/environment_facade.py,sha256=AzaaQaOz8scgSC
|
|
105
105
|
orionis/luminate/facades/files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
106
106
|
orionis/luminate/facades/files/path_facade.py,sha256=uWU8_-iaMGBWuVxbk_MoTm0FVFq25F_ub-ObvrtceHg,8987
|
107
107
|
orionis/luminate/facades/log/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
108
|
-
orionis/luminate/facades/log/log_facade.py,sha256=
|
108
|
+
orionis/luminate/facades/log/log_facade.py,sha256=YiPCbrRjxN-xYSJMfK_ii3NbsfMM1kYGBOeUCG6PNz4,2256
|
109
109
|
orionis/luminate/facades/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
110
110
|
orionis/luminate/facades/tests/tests_facade.py,sha256=eH_fyXjzEVw8aqEwxAgSujFUItz2woau6hc2Mf4VlkE,1660
|
111
111
|
orionis/luminate/patterns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -144,9 +144,9 @@ tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
144
144
|
tests/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
145
145
|
tests/tools/class_example.py,sha256=dIPD997Y15n6WmKhWoOFSwEldRm9MdOHTZZ49eF1p3c,1056
|
146
146
|
tests/tools/test_reflection.py,sha256=bhLQ7VGVod4B8sv-rW9AjnOumvaBVsoxieA3sdoM2yM,5244
|
147
|
-
orionis-0.
|
148
|
-
orionis-0.
|
149
|
-
orionis-0.
|
150
|
-
orionis-0.
|
151
|
-
orionis-0.
|
152
|
-
orionis-0.
|
147
|
+
orionis-0.66.0.dist-info/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
|
148
|
+
orionis-0.66.0.dist-info/METADATA,sha256=YfYKGVnCJTBnTK9N8bche5sGZkDfX5cDrOzxdiGHcV8,2978
|
149
|
+
orionis-0.66.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
150
|
+
orionis-0.66.0.dist-info/entry_points.txt,sha256=eef1_CVewfokKjrGBynXa06KabSJYo7LlDKKIKvs1cM,53
|
151
|
+
orionis-0.66.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
|
152
|
+
orionis-0.66.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|