Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -25,204 +25,3 @@ MzM0MDUzOTItMjRhNy00ZGFmLThjODktZTdjMjM2NGRkMDZkOjI0OTQ2ZjhhLTQ3ZWEtNDkxOC1iZmMz
|
|
| 25 |
# 0a559e82-c85c-4e4a-b8a1-251da2dae3f4
|
| 26 |
|
| 27 |
|
| 28 |
-
Есть код:
|
| 29 |
-
target_summ = target_summ + Gener_target('markers.MON_CATCH_LOG', 'markers.MON_CATCH_LOG_LACK', target_min, target_max, j)
|
| 30 |
-
target_summ = target_summ + Gener_target('markers.MON_TRY_LOG', 'markers.MON_TRY_LOG_LACK', target_min, target_max, j)
|
| 31 |
-
target_summ = target_summ + Gener_target('markers.MON_COMPONENT_DEBUG', 'markers.MON_COMPONENT_LACK_DEBUG', target_min, target_max, j)
|
| 32 |
-
target_summ = target_summ + Gener_target('markers.MON_COMPONENT_ERROR', 'markers.MON_COMPONENT_LACK_ERROR', target_min, target_max, j)
|
| 33 |
-
target_summ = target_summ + Gener_target('markers.MON_COMPONENT_INFO', 'markers.MON_COMPONENT_LACK_INFO', target_min, target_max, j)
|
| 34 |
-
target_summ = target_summ + Gener_target('markers.MON_COMPONENT_LOG', 'markers.MON_COMPONENT_LACK_LOG', target_min, target_max, j)
|
| 35 |
-
target_summ = target_summ + Gener_target('markers.MON_COMPONENT_TRACE', 'markers.MON_COMPONENT_LACK_TRACE', target_min, target_max, j)
|
| 36 |
-
target_summ = target_summ + Gener_target('markers.MON_COMPONENT_WARN', 'markers.MON_COMPONENT_LACK_WARN', target_min, target_max, j)
|
| 37 |
-
target_summ = target_summ + Gener_target('markers.MON_CONTROLLER_DEBUG', 'markers.MON_CONTROLLER_LACK_DEBUG', target_min, target_max, j)
|
| 38 |
-
target_summ = target_summ + Gener_target('markers.MON_CONTROLLER_ERROR', 'markers.MON_CONTROLLER_LACK_ERROR', target_min, target_max, j)
|
| 39 |
-
target_summ = target_summ + Gener_target('markers.MON_CONTROLLER_INFO', 'markers.MON_CONTROLLER_LACK_INFO', target_min, target_max, j)
|
| 40 |
-
target_summ = target_summ + Gener_target('markers.MON_CONTROLLER_LOG', 'markers.MON_CONTROLLER_LACK_LOG', target_min, target_max, j)
|
| 41 |
-
target_summ = target_summ + Gener_target('markers.MON_CONTROLLER_TRACE', 'markers.MON_CONTROLLER_LACK_TRACE', target_min, target_max, j)
|
| 42 |
-
target_summ = target_summ + Gener_target('markers.MON_CONTROLLER_WARN', 'markers.MON_CONTROLLER_LACK_WARN', target_min, target_max, j)
|
| 43 |
-
target_summ = target_summ + Gener_target('markers.MON_REPOSITORY_DEBUG', 'markers.MON_REPOSITORY_LACK_DEBUG', target_min, target_max, j)
|
| 44 |
-
target_summ = target_summ + Gener_target('markers.MON_REPOSITORY_ERROR', 'markers.MON_REPOSITORY_LACK_ERROR', target_min, target_max, j)
|
| 45 |
-
target_summ = target_summ + Gener_target('markers.MON_REPOSITORY_INFO', 'markers.MON_REPOSITORY_LACK_INFO', target_min, target_max, j)
|
| 46 |
-
target_summ = target_summ + Gener_target('markers.MON_REPOSITORY_LOG', 'markers.MON_REPOSITORY_LACK_LOG', target_min, target_max, j)
|
| 47 |
-
target_summ = target_summ + Gener_target('markers.MON_REPOSITORY_TRACE', 'markers.MON_REPOSITORY_LACK_TRACE', target_min, target_max, j)
|
| 48 |
-
target_summ = target_summ + Gener_target('markers.MON_REPOSITORY_WARN', 'markers.MON_REPOSITORY_LACK_WARN', target_min, target_max, j)
|
| 49 |
-
target_summ = target_summ + Gener_target('markers.MON_RESTCONTROLLER_DEBUG', 'markers.MON_RESTCONTROLLER_LACK_DEBUG', target_min, target_max, j)
|
| 50 |
-
target_summ = target_summ + Gener_target('markers.MON_RESTCONTROLLER_ERROR', 'markers.MON_RESTCONTROLLER_LACK_ERROR', target_min, target_max, j)
|
| 51 |
-
target_summ = target_summ + Gener_target('markers.MON_RESTCONTROLLER_INFO', 'markers.MON_RESTCONTROLLER_LACK_INFO', target_min, target_max, j)
|
| 52 |
-
target_summ = target_summ + Gener_target('markers.MON_RESTCONTROLLER_LOG', 'markers.MON_RESTCONTROLLER_LACK_LOG', target_min, target_max, j)
|
| 53 |
-
target_summ = target_summ + Gener_target('markers.MON_RESTCONTROLLER_TRACE', 'markers.MON_RESTCONTROLLER_LACK_TRACE', target_min, target_max, j)
|
| 54 |
-
target_summ = target_summ + Gener_target('markers.MON_RESTCONTROLLER_WARN', 'markers.MON_RESTCONTROLLER_LACK_WARN', target_min, target_max, j)
|
| 55 |
-
target_summ = target_summ + Gener_target('markers.MON_SERVICE_DEBUG', 'markers.MON_SERVICE_LACK_DEBUG', target_min, target_max, j)
|
| 56 |
-
target_summ = target_summ + Gener_target('markers.MON_SERVICE_ERROR', 'markers.MON_SERVICE_LACK_ERROR', target_min, target_max, j)
|
| 57 |
-
target_summ = target_summ + Gener_target('markers.MON_SERVICE_INFO', 'markers.MON_SERVICE_LACK_INFO', target_min, target_max, j)
|
| 58 |
-
target_summ = target_summ + Gener_target('markers.MON_SERVICE_LOG', 'markers.MON_SERVICE_LACK_LOG', target_min, target_max, j)
|
| 59 |
-
target_summ = target_summ + Gener_target('markers.MON_SERVICE_TRACE', 'markers.MON_SERVICE_LACK_TRACE', target_min, target_max, j)
|
| 60 |
-
target_summ = target_summ + Gener_target('markers.MON_SERVICE_WARN', 'markers.MON_SERVICE_LACK_WARN', target_min, target_max, j)
|
| 61 |
-
|
| 62 |
-
Этот код соответствует списку:
|
| 63 |
-
'markers.MON_CATCH_LOG',
|
| 64 |
-
'markers.MON_CATCH_LOG_LACK',
|
| 65 |
-
'markers.MON_TRY_LOG',
|
| 66 |
-
'markers.MON_TRY_LOG_LACK',
|
| 67 |
-
'markers.MON_COMPONENT_DEBUG',
|
| 68 |
-
'markers.MON_COMPONENT_LACK_DEBUG',
|
| 69 |
-
'markers.MON_COMPONENT_ERROR',
|
| 70 |
-
'markers.MON_COMPONENT_LACK_ERROR',
|
| 71 |
-
'markers.MON_COMPONENT_INFO',
|
| 72 |
-
'markers.MON_COMPONENT_LACK_INFO',
|
| 73 |
-
'markers.MON_COMPONENT_LOG',
|
| 74 |
-
'markers.MON_COMPONENT_LACK_LOG',
|
| 75 |
-
'markers.MON_COMPONENT_TRACE',
|
| 76 |
-
'markers.MON_COMPONENT_LACK_TRACE',
|
| 77 |
-
'markers.MON_COMPONENT_WARN',
|
| 78 |
-
'markers.MON_COMPONENT_LACK_WARN',
|
| 79 |
-
'markers.MON_CONTROLLER_DEBUG',
|
| 80 |
-
'markers.MON_CONTROLLER_LACK_DEBUG',
|
| 81 |
-
'markers.MON_CONTROLLER_ERROR',
|
| 82 |
-
'markers.MON_CONTROLLER_LACK_ERROR',
|
| 83 |
-
'markers.MON_CONTROLLER_INFO',
|
| 84 |
-
'markers.MON_CONTROLLER_LACK_INFO',
|
| 85 |
-
'markers.MON_CONTROLLER_LOG',
|
| 86 |
-
'markers.MON_CONTROLLER_LACK_LOG',
|
| 87 |
-
'markers.MON_CONTROLLER_TRACE',
|
| 88 |
-
'markers.MON_CONTROLLER_LACK_TRACE',
|
| 89 |
-
'markers.MON_CONTROLLER_WARN',
|
| 90 |
-
'markers.MON_CONTROLLER_LACK_WARN',
|
| 91 |
-
'markers.MON_REPOSITORY_DEBUG',
|
| 92 |
-
'markers.MON_REPOSITORY_LACK_DEBUG',
|
| 93 |
-
'markers.MON_REPOSITORY_ERROR',
|
| 94 |
-
'markers.MON_REPOSITORY_LACK_ERROR',
|
| 95 |
-
'markers.MON_REPOSITORY_INFO',
|
| 96 |
-
'markers.MON_REPOSITORY_LACK_INFO',
|
| 97 |
-
'markers.MON_REPOSITORY_LOG',
|
| 98 |
-
'markers.MON_REPOSITORY_LACK_LOG',
|
| 99 |
-
'markers.MON_REPOSITORY_TRACE',
|
| 100 |
-
'markers.MON_REPOSITORY_LACK_TRACE',
|
| 101 |
-
'markers.MON_REPOSITORY_WARN',
|
| 102 |
-
'markers.MON_REPOSITORY_LACK_WARN',
|
| 103 |
-
'markers.MON_RESTCONTROLLER_DEBUG',
|
| 104 |
-
'markers.MON_RESTCONTROLLER_LACK_DEBUG',
|
| 105 |
-
'markers.MON_RESTCONTROLLER_ERROR',
|
| 106 |
-
'markers.MON_RESTCONTROLLER_LACK_ERROR',
|
| 107 |
-
'markers.MON_RESTCONTROLLER_INFO',
|
| 108 |
-
'markers.MON_RESTCONTROLLER_LACK_INFO',
|
| 109 |
-
'markers.MON_RESTCONTROLLER_LOG',
|
| 110 |
-
'markers.MON_RESTCONTROLLER_LACK_LOG',
|
| 111 |
-
'markers.MON_RESTCONTROLLER_TRACE',
|
| 112 |
-
'markers.MON_RESTCONTROLLER_LACK_TRACE',
|
| 113 |
-
'markers.MON_RESTCONTROLLER_WARN',
|
| 114 |
-
'markers.MON_RESTCONTROLLER_LACK_WARN',
|
| 115 |
-
'markers.MON_SERVICE_DEBUG',
|
| 116 |
-
'markers.MON_SERVICE_LACK_DEBUG',
|
| 117 |
-
'markers.MON_SERVICE_ERROR',
|
| 118 |
-
'markers.MON_SERVICE_LACK_ERROR',
|
| 119 |
-
'markers.MON_SERVICE_INFO',
|
| 120 |
-
'markers.MON_SERVICE_LACK_INFO',
|
| 121 |
-
'markers.MON_SERVICE_LOG',
|
| 122 |
-
'markers.MON_SERVICE_LACK_LOG',
|
| 123 |
-
'markers.MON_SERVICE_TRACE',
|
| 124 |
-
'markers.MON_SERVICE_LACK_TRACE',
|
| 125 |
-
'markers.MON_SERVICE_WARN',
|
| 126 |
-
'markers.MON_SERVICE_LACK_WARN'
|
| 127 |
-
|
| 128 |
-
ЗАДАЧА:
|
| 129 |
-
В коде заменить этот список по анадогии на список:
|
| 130 |
-
Cath_Log: float
|
| 131 |
-
Cath_Log_Lack: float
|
| 132 |
-
Try_Log: float
|
| 133 |
-
Try_Log_Lack: float
|
| 134 |
-
Named_Error: float
|
| 135 |
-
Named_Error_Lack: float
|
| 136 |
-
Named_Warn: float
|
| 137 |
-
Named_Warn_Lack: float
|
| 138 |
-
Named_Info: float
|
| 139 |
-
Named_Info_Lack: float
|
| 140 |
-
Named_Debug: float
|
| 141 |
-
Named_Debug_Lack: float
|
| 142 |
-
Named_Trace: float
|
| 143 |
-
Named_Trace_Lack: float
|
| 144 |
-
ApplicationScoped_Error: float
|
| 145 |
-
ApplicationScoped_Error_Lack: float
|
| 146 |
-
ApplicationScoped_Warn: float
|
| 147 |
-
ApplicationScoped_Warn_Lack: float
|
| 148 |
-
ApplicationScoped_Info: float
|
| 149 |
-
ApplicationScoped_Info_Lack: float
|
| 150 |
-
ApplicationScoped_Debug: float
|
| 151 |
-
ApplicationScoped_Debug_Lack: float
|
| 152 |
-
ApplicationScoped_Trace: float
|
| 153 |
-
ApplicationScoped_Trace_Lack: float
|
| 154 |
-
RequestScoped_Error: float
|
| 155 |
-
RequestScoped_Error_Lack: float
|
| 156 |
-
RequestScoped_Warn: float
|
| 157 |
-
RequestScoped_Warn_Lack: float
|
| 158 |
-
RequestScoped_Info: float
|
| 159 |
-
RequestScoped_Info_Lack: float
|
| 160 |
-
RequestScoped_Debug: float
|
| 161 |
-
RequestScoped_Debug_Lack: float
|
| 162 |
-
RequestScoped_Trace: float
|
| 163 |
-
RequestScoped_Trace_Lack: float
|
| 164 |
-
SessionScoped_Error: float
|
| 165 |
-
SessionScoped_Error_Lack: float
|
| 166 |
-
SessionScoped_Warn: float
|
| 167 |
-
SessionScoped_Warn_Lack: float
|
| 168 |
-
SessionScoped_Info: float
|
| 169 |
-
SessionScoped_Info_Lack: float
|
| 170 |
-
SessionScoped_Debug: float
|
| 171 |
-
SessionScoped_Debug_Lack: float
|
| 172 |
-
SessionScoped_Trace: float
|
| 173 |
-
SessionScoped_Trace_Lack: float
|
| 174 |
-
Path_Error: float
|
| 175 |
-
Path_Error_Lack: float
|
| 176 |
-
Path_Warn: float
|
| 177 |
-
Path_Warn_Lack: float
|
| 178 |
-
Path_Info: float
|
| 179 |
-
Path_Info_Lack: float
|
| 180 |
-
Path_Debug: float
|
| 181 |
-
Path_Debug_Lack: float
|
| 182 |
-
Path_Trace: float
|
| 183 |
-
Path_Trace_Lack: float
|
| 184 |
-
PersistenceContex_Error: float
|
| 185 |
-
PersistenceContex_Error_Lack: float
|
| 186 |
-
PersistenceContex_Warn: float
|
| 187 |
-
PersistenceContex_Warn_Lack: float
|
| 188 |
-
PersistenceContex_Info: float
|
| 189 |
-
PersistenceContex_Info_Lack: float
|
| 190 |
-
PersistenceContex_Debug: float
|
| 191 |
-
PersistenceContex_Debug_Lack: float
|
| 192 |
-
PersistenceContex_Trace: float
|
| 193 |
-
PersistenceContex_Trace_Lack: float
|
| 194 |
-
PersistenceUnit_Error: float
|
| 195 |
-
PersistenceUnit_Error_Lack: float
|
| 196 |
-
PersistenceUnit_Warn: float
|
| 197 |
-
PersistenceUnit_Warn_Lack: float
|
| 198 |
-
PersistenceUnit_Info: float
|
| 199 |
-
PersistenceUnit_Info_Lack: float
|
| 200 |
-
PersistenceUnit_Debug: float
|
| 201 |
-
PersistenceUnit_Debug_Lack: float
|
| 202 |
-
PersistenceUnit_Trace: float
|
| 203 |
-
PersistenceUnit_Trace_Lack: float
|
| 204 |
-
Stateless_Error: float
|
| 205 |
-
Stateless_Error_Lack: float
|
| 206 |
-
Stateless_Warn: float
|
| 207 |
-
Stateless_Warn_Lack: float
|
| 208 |
-
Stateless_Info: float
|
| 209 |
-
Stateless_Info_Lack: float
|
| 210 |
-
Stateless_Debug: float
|
| 211 |
-
Stateless_Debug_Lack: float
|
| 212 |
-
Stateless_Trace: float
|
| 213 |
-
Stateless_Trace_Lack: float
|
| 214 |
-
Singleton_Error: float
|
| 215 |
-
Singleton_Error_Lack: float
|
| 216 |
-
Singleton_Warn: float
|
| 217 |
-
Singleton_Warn_Lack: float
|
| 218 |
-
Singleton_Info: float
|
| 219 |
-
Singleton_Info_Lack: float
|
| 220 |
-
Singleton_Debug: float
|
| 221 |
-
Singleton_Debug_Lack: float
|
| 222 |
-
Singleton_Trace: float
|
| 223 |
-
Singleton_Trace_Lack: float
|
| 224 |
-
|
| 225 |
-
При необходимости добавить в код новые строки.
|
| 226 |
-
В коде ничего улучшать не надо, нужно просто полностью заменить старый список на новый
|
| 227 |
-
|
| 228 |
-
|
|
|
|
| 25 |
# 0a559e82-c85c-4e4a-b8a1-251da2dae3f4
|
| 26 |
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|