ext_logger 0.2.2 → 0.2.3
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.
- checksums.yaml +4 -4
- data/.idea/workspace.xml +160 -212
- data/README.md +11 -6
- data/ext_logger.gemspec +1 -2
- data/lib/ext_logger/{logger.rb → main.rb} +32 -13
- data/lib/ext_logger/version.rb +3 -0
- data/lib/ext_logger.rb +2 -2
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e327be78a79e86fbf1a18f53a45b76f934ffd52a
|
4
|
+
data.tar.gz: 591b1655e9ca5ab4f342f703e5c0c38ed75c10c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc5b0daedf948dedcdb23c713b5becbe947c3b144b862f987a3ba38ce0a42effa8428c9d3a384e8b90086c3ac84854bfc90a32c6dffe0bf3fecb871b8ab495d4
|
7
|
+
data.tar.gz: 5c214bbf6cbbb836ecfe647603e19c92090d6c7646c98db31ff84a8076d9531adba6d9c483e78351aefda9abecef100acf2e5d430e90cb21eda33bdd0c9a81ec
|
data/.idea/workspace.xml
CHANGED
@@ -2,13 +2,9 @@
|
|
2
2
|
<project version="4">
|
3
3
|
<component name="ChangeListManager">
|
4
4
|
<list default="true" id="09d7e2e9-1cd6-481d-b2bb-16f8f2694524" name="Default" comment="">
|
5
|
-
<change type="DELETED" beforePath="$PROJECT_DIR$/lib/ext_logger/version.rb" afterPath="" />
|
6
5
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/ext_logger.iml" afterPath="$PROJECT_DIR$/.idea/ext_logger.iml" />
|
7
6
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
8
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/
|
9
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/ext_logger.gemspec" afterPath="$PROJECT_DIR$/ext_logger.gemspec" />
|
10
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/ext_logger.rb" afterPath="$PROJECT_DIR$/lib/ext_logger.rb" />
|
11
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/ext_logger/logger.rb" afterPath="$PROJECT_DIR$/lib/ext_logger/logger.rb" />
|
7
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/ext_logger/main.rb" afterPath="$PROJECT_DIR$/lib/ext_logger/main.rb" />
|
12
8
|
</list>
|
13
9
|
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
14
10
|
<option name="TRACKING_ENABLED" value="true" />
|
@@ -19,67 +15,55 @@
|
|
19
15
|
</component>
|
20
16
|
<component name="FileEditorManager">
|
21
17
|
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
22
|
-
<file leaf-file-name="
|
23
|
-
<entry file="file://$PROJECT_DIR$/
|
24
|
-
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
25
|
-
<state split_layout="SPLIT">
|
26
|
-
<first_editor relative-caret-position="238">
|
27
|
-
<caret line="46" column="80" lean-forward="false" selection-start-line="46" selection-start-column="80" selection-end-line="46" selection-end-column="80" />
|
28
|
-
<folding />
|
29
|
-
</first_editor>
|
30
|
-
<second_editor />
|
31
|
-
</state>
|
32
|
-
</provider>
|
33
|
-
</entry>
|
34
|
-
</file>
|
35
|
-
<file leaf-file-name="ext_logger.gemspec" pinned="false" current-in-tab="false">
|
36
|
-
<entry file="file://$PROJECT_DIR$/ext_logger.gemspec">
|
18
|
+
<file leaf-file-name="main.rb" pinned="false" current-in-tab="true">
|
19
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/main.rb">
|
37
20
|
<provider selected="true" editor-type-id="text-editor">
|
38
|
-
<state relative-caret-position="
|
39
|
-
<caret line="
|
21
|
+
<state relative-caret-position="326">
|
22
|
+
<caret line="241" column="25" lean-forward="true" selection-start-line="241" selection-start-column="25" selection-end-line="241" selection-end-column="25" />
|
40
23
|
<folding />
|
41
24
|
</state>
|
42
25
|
</provider>
|
43
26
|
</entry>
|
44
27
|
</file>
|
45
|
-
<file leaf-file-name="
|
46
|
-
<entry file="file://$PROJECT_DIR$/
|
28
|
+
<file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
|
29
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/version.rb">
|
47
30
|
<provider selected="true" editor-type-id="text-editor">
|
48
|
-
<state relative-caret-position="
|
49
|
-
<caret line="
|
31
|
+
<state relative-caret-position="45">
|
32
|
+
<caret line="3" column="0" lean-forward="false" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
|
50
33
|
<folding />
|
51
34
|
</state>
|
52
35
|
</provider>
|
53
36
|
</entry>
|
54
37
|
</file>
|
55
|
-
<file leaf-file-name="
|
56
|
-
<entry file="file://$PROJECT_DIR$/lib/ext_logger
|
38
|
+
<file leaf-file-name="ext_logger.rb" pinned="false" current-in-tab="false">
|
39
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger.rb">
|
57
40
|
<provider selected="true" editor-type-id="text-editor">
|
58
|
-
<state relative-caret-position="
|
59
|
-
<caret line="
|
60
|
-
<folding
|
61
|
-
<element signature="e#6879#8239#0" expanded="false" />
|
62
|
-
</folding>
|
41
|
+
<state relative-caret-position="30">
|
42
|
+
<caret line="2" column="6" lean-forward="false" selection-start-line="2" selection-start-column="6" selection-end-line="5" selection-end-column="5" />
|
43
|
+
<folding />
|
63
44
|
</state>
|
64
45
|
</provider>
|
65
46
|
</entry>
|
66
47
|
</file>
|
67
|
-
<file leaf-file-name="
|
68
|
-
<entry file="file://$
|
48
|
+
<file leaf-file-name="ext_logger.gemspec" pinned="false" current-in-tab="false">
|
49
|
+
<entry file="file://$PROJECT_DIR$/ext_logger.gemspec">
|
69
50
|
<provider selected="true" editor-type-id="text-editor">
|
70
|
-
<state relative-caret-position="
|
71
|
-
<caret line="
|
51
|
+
<state relative-caret-position="45">
|
52
|
+
<caret line="3" column="28" lean-forward="false" selection-start-line="3" selection-start-column="28" selection-end-line="3" selection-end-column="28" />
|
72
53
|
<folding />
|
73
54
|
</state>
|
74
55
|
</provider>
|
75
56
|
</entry>
|
76
57
|
</file>
|
77
|
-
<file leaf-file-name="
|
78
|
-
<entry file="file://$PROJECT_DIR$/
|
79
|
-
<provider selected="true" editor-type-id="text-editor">
|
80
|
-
<state
|
81
|
-
<
|
82
|
-
|
58
|
+
<file leaf-file-name="README.md" pinned="false" current-in-tab="false">
|
59
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
60
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
61
|
+
<state split_layout="SPLIT">
|
62
|
+
<first_editor relative-caret-position="90">
|
63
|
+
<caret line="6" column="16" lean-forward="false" selection-start-line="6" selection-start-column="16" selection-end-line="6" selection-end-column="16" />
|
64
|
+
<folding />
|
65
|
+
</first_editor>
|
66
|
+
<second_editor />
|
83
67
|
</state>
|
84
68
|
</provider>
|
85
69
|
</entry>
|
@@ -88,15 +72,6 @@
|
|
88
72
|
</component>
|
89
73
|
<component name="FindInProjectRecents">
|
90
74
|
<findStrings>
|
91
|
-
<find>def ini</find>
|
92
|
-
<find>blank?</find>
|
93
|
-
<find>valid_rails</find>
|
94
|
-
<find>blank</find>
|
95
|
-
<find>@formatter</find>
|
96
|
-
<find>_file_postfix</find>
|
97
|
-
<find>path</find>
|
98
|
-
<find>args[0]</find>
|
99
|
-
<find>shift_age</find>
|
100
75
|
<find>root_path</find>
|
101
76
|
<find>ExtLogger.split_file</find>
|
102
77
|
<find>self.is_blank?</find>
|
@@ -115,9 +90,18 @@
|
|
115
90
|
<find>@log_path</find>
|
116
91
|
<find>File.</find>
|
117
92
|
<find>log_max_num</find>
|
118
|
-
<find>@log_split_format</find>
|
119
93
|
<find>shift_log_age</find>
|
94
|
+
<find>Logger</find>
|
95
|
+
<find>self.to_s</find>
|
120
96
|
<find>@log_max_num</find>
|
97
|
+
<find>Exception</find>
|
98
|
+
<find>split_file</find>
|
99
|
+
<find>@log_split_format</find>
|
100
|
+
<find>set_split_format</find>
|
101
|
+
<find>get_split_format</find>
|
102
|
+
<find>log_path</find>
|
103
|
+
<find>get_path</find>
|
104
|
+
<find>File.open</find>
|
121
105
|
</findStrings>
|
122
106
|
<replaceStrings>
|
123
107
|
<replace>now_time</replace>
|
@@ -135,7 +119,11 @@
|
|
135
119
|
<replace>put_to_console</replace>
|
136
120
|
<replace>split_format</replace>
|
137
121
|
<replace>output_debug</replace>
|
122
|
+
<replace>self.class.to_s</replace>
|
138
123
|
</replaceStrings>
|
124
|
+
<dirStrings>
|
125
|
+
<dir>$PROJECT_DIR$</dir>
|
126
|
+
</dirStrings>
|
139
127
|
</component>
|
140
128
|
<component name="Git.Settings">
|
141
129
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
@@ -144,11 +132,13 @@
|
|
144
132
|
<option name="CHANGED_PATHS">
|
145
133
|
<list>
|
146
134
|
<option value="$PROJECT_DIR$/.ruby-gemset" />
|
135
|
+
<option value="$PROJECT_DIR$/lib/ext_logger/logger.rb" />
|
136
|
+
<option value="$PROJECT_DIR$/lib/ext_logger/ext_logger.rb" />
|
147
137
|
<option value="$PROJECT_DIR$/lib/ext_logger/version.rb" />
|
148
138
|
<option value="$PROJECT_DIR$/lib/ext_logger.rb" />
|
149
|
-
<option value="$PROJECT_DIR$/ext_logger.gemspec" />
|
150
|
-
<option value="$PROJECT_DIR$/lib/ext_logger/logger.rb" />
|
151
139
|
<option value="$PROJECT_DIR$/README.md" />
|
140
|
+
<option value="$PROJECT_DIR$/ext_logger.gemspec" />
|
141
|
+
<option value="$PROJECT_DIR$/lib/ext_logger/main.rb" />
|
152
142
|
</list>
|
153
143
|
</option>
|
154
144
|
</component>
|
@@ -177,6 +167,8 @@
|
|
177
167
|
<foldersAlwaysOnTop value="true" />
|
178
168
|
</navigator>
|
179
169
|
<panes>
|
170
|
+
<pane id="Scratches" />
|
171
|
+
<pane id="Scope" />
|
180
172
|
<pane id="ProjectPane">
|
181
173
|
<subPane>
|
182
174
|
<expand>
|
@@ -184,11 +176,6 @@
|
|
184
176
|
<item name="ext_logger" type="b2602c69:ProjectViewProjectNode" />
|
185
177
|
<item name="ext_logger" type="462c0819:PsiDirectoryNode" />
|
186
178
|
</path>
|
187
|
-
<path>
|
188
|
-
<item name="ext_logger" type="b2602c69:ProjectViewProjectNode" />
|
189
|
-
<item name="ext_logger" type="462c0819:PsiDirectoryNode" />
|
190
|
-
<item name="bin" type="462c0819:PsiDirectoryNode" />
|
191
|
-
</path>
|
192
179
|
<path>
|
193
180
|
<item name="ext_logger" type="b2602c69:ProjectViewProjectNode" />
|
194
181
|
<item name="ext_logger" type="462c0819:PsiDirectoryNode" />
|
@@ -213,8 +200,6 @@
|
|
213
200
|
<select />
|
214
201
|
</subPane>
|
215
202
|
</pane>
|
216
|
-
<pane id="Scope" />
|
217
|
-
<pane id="Scratches" />
|
218
203
|
</panes>
|
219
204
|
</component>
|
220
205
|
<component name="PropertiesComponent">
|
@@ -223,12 +208,13 @@
|
|
223
208
|
<property name="WebServerToolWindowFactoryState" value="false" />
|
224
209
|
</component>
|
225
210
|
<component name="RecentsManager">
|
226
|
-
<key name="
|
211
|
+
<key name="CopyFile.RECENT_KEYS">
|
212
|
+
<recent name="$PROJECT_DIR$/lib/ext_logger" />
|
227
213
|
<recent name="$PROJECT_DIR$" />
|
228
|
-
<recent name="$PROJECT_DIR$/pkg" />
|
229
214
|
</key>
|
230
|
-
<key name="
|
215
|
+
<key name="MoveFile.RECENT_KEYS">
|
231
216
|
<recent name="$PROJECT_DIR$" />
|
217
|
+
<recent name="$PROJECT_DIR$/pkg" />
|
232
218
|
</key>
|
233
219
|
</component>
|
234
220
|
<component name="RunDashboard">
|
@@ -260,24 +246,35 @@
|
|
260
246
|
<workItem from="1543543683820" duration="89000" />
|
261
247
|
<workItem from="1544081694369" duration="20170000" />
|
262
248
|
<workItem from="1544421307931" duration="309000" />
|
263
|
-
<workItem from="1545704845178" duration="
|
249
|
+
<workItem from="1545704845178" duration="10133000" />
|
250
|
+
<workItem from="1545790238660" duration="617000" />
|
251
|
+
<workItem from="1545810647669" duration="1136000" />
|
252
|
+
<workItem from="1545877968167" duration="463000" />
|
253
|
+
<workItem from="1545887313931" duration="423000" />
|
254
|
+
<workItem from="1547288704637" duration="1491000" />
|
255
|
+
<workItem from="1547451771785" duration="1347000" />
|
256
|
+
<workItem from="1547566862204" duration="231000" />
|
257
|
+
<workItem from="1547644478267" duration="804000" />
|
258
|
+
<workItem from="1547892125756" duration="3024000" />
|
259
|
+
<workItem from="1547895733301" duration="5600000" />
|
264
260
|
</task>
|
265
261
|
<servers />
|
266
262
|
</component>
|
267
263
|
<component name="TimeTrackingManager">
|
268
|
-
<option name="totallyTimeSpent" value="
|
264
|
+
<option name="totallyTimeSpent" value="50295000" />
|
269
265
|
</component>
|
270
266
|
<component name="ToolWindowManager">
|
271
267
|
<frame x="0" y="0" width="1280" height="800" extended-state="0" />
|
272
268
|
<editor active="true" />
|
273
269
|
<layout>
|
274
|
-
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="
|
270
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.21683876" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
275
271
|
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
276
272
|
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
|
273
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
277
274
|
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
|
278
275
|
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
279
276
|
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.2494043" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
280
|
-
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="
|
277
|
+
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2777778" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
|
281
278
|
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
|
282
279
|
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
283
280
|
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
@@ -285,27 +282,8 @@
|
|
285
282
|
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
286
283
|
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
287
284
|
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
288
|
-
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
289
285
|
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
290
286
|
</layout>
|
291
|
-
<layout-to-restore>
|
292
|
-
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
293
|
-
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
294
|
-
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
295
|
-
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
296
|
-
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
|
297
|
-
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
298
|
-
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
|
299
|
-
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
300
|
-
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
|
301
|
-
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.13582209" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
302
|
-
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
303
|
-
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
304
|
-
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.2494043" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
305
|
-
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
306
|
-
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
|
307
|
-
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
308
|
-
</layout-to-restore>
|
309
287
|
</component>
|
310
288
|
<component name="TypeScriptGeneratedFilesManager">
|
311
289
|
<option name="version" value="1" />
|
@@ -320,38 +298,84 @@
|
|
320
298
|
<watches-manager />
|
321
299
|
</component>
|
322
300
|
<component name="editorHistoryManager">
|
301
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/main.rb">
|
302
|
+
<provider selected="true" editor-type-id="text-editor">
|
303
|
+
<state relative-caret-position="3105">
|
304
|
+
<caret line="207" column="18" lean-forward="false" selection-start-line="207" selection-start-column="18" selection-end-line="207" selection-end-column="18" />
|
305
|
+
<folding />
|
306
|
+
</state>
|
307
|
+
</provider>
|
308
|
+
</entry>
|
309
|
+
<entry file="file://$PROJECT_DIR$/ext_logger.gemspec">
|
310
|
+
<provider selected="true" editor-type-id="text-editor">
|
311
|
+
<state relative-caret-position="195">
|
312
|
+
<caret line="13" column="217" lean-forward="false" selection-start-line="13" selection-start-column="217" selection-end-line="13" selection-end-column="217" />
|
313
|
+
<folding />
|
314
|
+
</state>
|
315
|
+
</provider>
|
316
|
+
</entry>
|
317
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger.rb">
|
318
|
+
<provider selected="true" editor-type-id="text-editor">
|
319
|
+
<state relative-caret-position="90">
|
320
|
+
<caret line="6" column="0" lean-forward="true" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
|
321
|
+
<folding />
|
322
|
+
</state>
|
323
|
+
</provider>
|
324
|
+
</entry>
|
323
325
|
<entry file="file://$PROJECT_DIR$/README.md">
|
324
326
|
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
325
327
|
<state split_layout="SPLIT">
|
326
|
-
<first_editor relative-caret-position="
|
327
|
-
<caret line="
|
328
|
+
<first_editor relative-caret-position="690">
|
329
|
+
<caret line="46" column="82" lean-forward="false" selection-start-line="46" selection-start-column="70" selection-end-line="46" selection-end-column="82" />
|
328
330
|
<folding />
|
329
331
|
</first_editor>
|
330
332
|
<second_editor />
|
331
333
|
</state>
|
332
334
|
</provider>
|
333
335
|
</entry>
|
334
|
-
<entry file="file://$PROJECT_DIR$/ext_logger.
|
336
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/main.rb">
|
335
337
|
<provider selected="true" editor-type-id="text-editor">
|
336
|
-
<state relative-caret-position="
|
337
|
-
<caret line="
|
338
|
-
<folding />
|
338
|
+
<state relative-caret-position="2910">
|
339
|
+
<caret line="194" column="56" lean-forward="false" selection-start-line="194" selection-start-column="56" selection-end-line="194" selection-end-column="56" />
|
339
340
|
</state>
|
340
341
|
</provider>
|
341
342
|
</entry>
|
342
|
-
<entry file="file://$PROJECT_DIR$/lib/ext_logger/
|
343
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/main.rb">
|
343
344
|
<provider selected="true" editor-type-id="text-editor">
|
344
|
-
<state relative-caret-position="
|
345
|
-
<caret line="
|
346
|
-
|
345
|
+
<state relative-caret-position="0">
|
346
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
347
|
+
</state>
|
348
|
+
</provider>
|
349
|
+
</entry>
|
350
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/main.rb">
|
351
|
+
<provider selected="true" editor-type-id="text-editor">
|
352
|
+
<state relative-caret-position="0">
|
353
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
354
|
+
</state>
|
355
|
+
</provider>
|
356
|
+
</entry>
|
357
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
358
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
359
|
+
<state split_layout="SPLIT">
|
360
|
+
<first_editor relative-caret-position="195">
|
361
|
+
<caret line="13" column="46" lean-forward="false" selection-start-line="13" selection-start-column="46" selection-end-line="13" selection-end-column="46" />
|
362
|
+
</first_editor>
|
363
|
+
<second_editor />
|
364
|
+
</state>
|
365
|
+
</provider>
|
366
|
+
</entry>
|
367
|
+
<entry file="file://$PROJECT_DIR$/ext_logger.gemspec">
|
368
|
+
<provider selected="true" editor-type-id="text-editor">
|
369
|
+
<state relative-caret-position="150">
|
370
|
+
<caret line="10" column="0" lean-forward="false" selection-start-line="10" selection-start-column="0" selection-end-line="10" selection-end-column="0" />
|
347
371
|
</state>
|
348
372
|
</provider>
|
349
373
|
</entry>
|
374
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/version.rb" />
|
350
375
|
<entry file="file://$PROJECT_DIR$/Gemfile">
|
351
376
|
<provider selected="true" editor-type-id="text-editor">
|
352
377
|
<state relative-caret-position="0">
|
353
378
|
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
354
|
-
<folding />
|
355
379
|
</state>
|
356
380
|
</provider>
|
357
381
|
</entry>
|
@@ -359,17 +383,13 @@
|
|
359
383
|
<provider selected="true" editor-type-id="text-editor">
|
360
384
|
<state relative-caret-position="11820">
|
361
385
|
<caret line="788" column="38" lean-forward="false" selection-start-line="788" selection-start-column="13" selection-end-line="788" selection-end-column="38" />
|
362
|
-
<folding />
|
363
386
|
</state>
|
364
387
|
</provider>
|
365
388
|
</entry>
|
366
|
-
<entry file="file://$PROJECT_DIR$/lib/ext_logger/
|
389
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/main.rb">
|
367
390
|
<provider selected="true" editor-type-id="text-editor">
|
368
391
|
<state relative-caret-position="2670">
|
369
392
|
<caret line="178" column="14" lean-forward="true" selection-start-line="178" selection-start-column="14" selection-end-line="178" selection-end-column="14" />
|
370
|
-
<folding>
|
371
|
-
<element signature="e#6879#8239#0" expanded="false" />
|
372
|
-
</folding>
|
373
393
|
</state>
|
374
394
|
</provider>
|
375
395
|
</entry>
|
@@ -377,7 +397,6 @@
|
|
377
397
|
<provider selected="true" editor-type-id="text-editor">
|
378
398
|
<state relative-caret-position="150">
|
379
399
|
<caret line="10" column="0" lean-forward="false" selection-start-line="10" selection-start-column="0" selection-end-line="10" selection-end-column="0" />
|
380
|
-
<folding />
|
381
400
|
</state>
|
382
401
|
</provider>
|
383
402
|
</entry>
|
@@ -386,25 +405,16 @@
|
|
386
405
|
<state split_layout="SPLIT">
|
387
406
|
<first_editor relative-caret-position="195">
|
388
407
|
<caret line="13" column="46" lean-forward="false" selection-start-line="13" selection-start-column="46" selection-end-line="13" selection-end-column="46" />
|
389
|
-
<folding />
|
390
408
|
</first_editor>
|
391
409
|
<second_editor />
|
392
410
|
</state>
|
393
411
|
</provider>
|
394
412
|
</entry>
|
395
|
-
<entry file="file://$PROJECT_DIR$/lib/ext_logger/version.rb"
|
396
|
-
<provider selected="true" editor-type-id="text-editor">
|
397
|
-
<state relative-caret-position="30">
|
398
|
-
<caret line="2" column="19" lean-forward="false" selection-start-line="2" selection-start-column="19" selection-end-line="2" selection-end-column="19" />
|
399
|
-
<folding />
|
400
|
-
</state>
|
401
|
-
</provider>
|
402
|
-
</entry>
|
413
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/version.rb" />
|
403
414
|
<entry file="file://$PROJECT_DIR$/Gemfile">
|
404
415
|
<provider selected="true" editor-type-id="text-editor">
|
405
416
|
<state relative-caret-position="0">
|
406
417
|
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
407
|
-
<folding />
|
408
418
|
</state>
|
409
419
|
</provider>
|
410
420
|
</entry>
|
@@ -412,17 +422,13 @@
|
|
412
422
|
<provider selected="true" editor-type-id="text-editor">
|
413
423
|
<state relative-caret-position="11820">
|
414
424
|
<caret line="788" column="38" lean-forward="false" selection-start-line="788" selection-start-column="13" selection-end-line="788" selection-end-column="38" />
|
415
|
-
<folding />
|
416
425
|
</state>
|
417
426
|
</provider>
|
418
427
|
</entry>
|
419
|
-
<entry file="file://$PROJECT_DIR$/lib/ext_logger/
|
428
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/main.rb">
|
420
429
|
<provider selected="true" editor-type-id="text-editor">
|
421
430
|
<state relative-caret-position="2520">
|
422
431
|
<caret line="168" column="7" lean-forward="false" selection-start-line="165" selection-start-column="9" selection-end-line="168" selection-end-column="7" />
|
423
|
-
<folding>
|
424
|
-
<element signature="e#6879#8239#0" expanded="false" />
|
425
|
-
</folding>
|
426
432
|
</state>
|
427
433
|
</provider>
|
428
434
|
</entry>
|
@@ -431,7 +437,6 @@
|
|
431
437
|
<state split_layout="SPLIT">
|
432
438
|
<first_editor relative-caret-position="75">
|
433
439
|
<caret line="5" column="75" lean-forward="false" selection-start-line="5" selection-start-column="75" selection-end-line="5" selection-end-column="75" />
|
434
|
-
<folding />
|
435
440
|
</first_editor>
|
436
441
|
<second_editor />
|
437
442
|
</state>
|
@@ -441,23 +446,14 @@
|
|
441
446
|
<provider selected="true" editor-type-id="text-editor">
|
442
447
|
<state relative-caret-position="300">
|
443
448
|
<caret line="20" column="31" lean-forward="false" selection-start-line="20" selection-start-column="31" selection-end-line="20" selection-end-column="31" />
|
444
|
-
<folding />
|
445
|
-
</state>
|
446
|
-
</provider>
|
447
|
-
</entry>
|
448
|
-
<entry file="file://$PROJECT_DIR$/lib/ext_logger/version.rb">
|
449
|
-
<provider selected="true" editor-type-id="text-editor">
|
450
|
-
<state relative-caret-position="30">
|
451
|
-
<caret line="2" column="13" lean-forward="false" selection-start-line="2" selection-start-column="13" selection-end-line="2" selection-end-column="18" />
|
452
|
-
<folding />
|
453
449
|
</state>
|
454
450
|
</provider>
|
455
451
|
</entry>
|
452
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/version.rb" />
|
456
453
|
<entry file="file://$PROJECT_DIR$/Gemfile">
|
457
454
|
<provider selected="true" editor-type-id="text-editor">
|
458
455
|
<state relative-caret-position="0">
|
459
456
|
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
460
|
-
<folding />
|
461
457
|
</state>
|
462
458
|
</provider>
|
463
459
|
</entry>
|
@@ -465,34 +461,22 @@
|
|
465
461
|
<provider selected="true" editor-type-id="text-editor">
|
466
462
|
<state relative-caret-position="9465">
|
467
463
|
<caret line="631" column="11" lean-forward="false" selection-start-line="631" selection-start-column="4" selection-end-line="631" selection-end-column="11" />
|
468
|
-
<folding />
|
469
464
|
</state>
|
470
465
|
</provider>
|
471
466
|
</entry>
|
472
|
-
<entry file="file://$PROJECT_DIR$/lib/ext_logger/
|
467
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/main.rb">
|
473
468
|
<provider selected="true" editor-type-id="text-editor">
|
474
469
|
<state relative-caret-position="540">
|
475
470
|
<caret line="36" column="9" lean-forward="false" selection-start-line="36" selection-start-column="9" selection-end-line="36" selection-end-column="9" />
|
476
|
-
<folding>
|
477
|
-
<element signature="e#6879#8239#0" expanded="false" />
|
478
|
-
</folding>
|
479
|
-
</state>
|
480
|
-
</provider>
|
481
|
-
</entry>
|
482
|
-
<entry file="file://$PROJECT_DIR$/lib/ext_logger/version.rb">
|
483
|
-
<provider selected="true" editor-type-id="text-editor">
|
484
|
-
<state relative-caret-position="30">
|
485
|
-
<caret line="2" column="13" lean-forward="false" selection-start-line="2" selection-start-column="13" selection-end-line="2" selection-end-column="18" />
|
486
|
-
<folding />
|
487
471
|
</state>
|
488
472
|
</provider>
|
489
473
|
</entry>
|
474
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/version.rb" />
|
490
475
|
<entry file="file://$PROJECT_DIR$/README.md">
|
491
476
|
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
492
477
|
<state split_layout="SPLIT">
|
493
478
|
<first_editor relative-caret-position="75">
|
494
479
|
<caret line="5" column="75" lean-forward="false" selection-start-line="5" selection-start-column="75" selection-end-line="5" selection-end-column="75" />
|
495
|
-
<folding />
|
496
480
|
</first_editor>
|
497
481
|
<second_editor />
|
498
482
|
</state>
|
@@ -502,7 +486,6 @@
|
|
502
486
|
<provider selected="true" editor-type-id="text-editor">
|
503
487
|
<state relative-caret-position="300">
|
504
488
|
<caret line="20" column="31" lean-forward="false" selection-start-line="20" selection-start-column="31" selection-end-line="20" selection-end-column="31" />
|
505
|
-
<folding />
|
506
489
|
</state>
|
507
490
|
</provider>
|
508
491
|
</entry>
|
@@ -510,7 +493,6 @@
|
|
510
493
|
<provider selected="true" editor-type-id="text-editor">
|
511
494
|
<state relative-caret-position="0">
|
512
495
|
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
513
|
-
<folding />
|
514
496
|
</state>
|
515
497
|
</provider>
|
516
498
|
</entry>
|
@@ -518,17 +500,13 @@
|
|
518
500
|
<provider selected="true" editor-type-id="text-editor">
|
519
501
|
<state relative-caret-position="9465">
|
520
502
|
<caret line="631" column="11" lean-forward="false" selection-start-line="631" selection-start-column="4" selection-end-line="631" selection-end-column="11" />
|
521
|
-
<folding />
|
522
503
|
</state>
|
523
504
|
</provider>
|
524
505
|
</entry>
|
525
|
-
<entry file="file://$PROJECT_DIR$/lib/ext_logger/
|
506
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/main.rb">
|
526
507
|
<provider selected="true" editor-type-id="text-editor">
|
527
508
|
<state relative-caret-position="540">
|
528
509
|
<caret line="36" column="9" lean-forward="true" selection-start-line="36" selection-start-column="9" selection-end-line="36" selection-end-column="9" />
|
529
|
-
<folding>
|
530
|
-
<element signature="e#6879#8239#0" expanded="false" />
|
531
|
-
</folding>
|
532
510
|
</state>
|
533
511
|
</provider>
|
534
512
|
</entry>
|
@@ -536,36 +514,24 @@
|
|
536
514
|
<provider selected="true" editor-type-id="text-editor">
|
537
515
|
<state relative-caret-position="240">
|
538
516
|
<caret line="16" column="41" lean-forward="false" selection-start-line="16" selection-start-column="41" selection-end-line="16" selection-end-column="41" />
|
539
|
-
<folding />
|
540
|
-
</state>
|
541
|
-
</provider>
|
542
|
-
</entry>
|
543
|
-
<entry file="file://$PROJECT_DIR$/lib/ext_logger/version.rb">
|
544
|
-
<provider selected="true" editor-type-id="text-editor">
|
545
|
-
<state relative-caret-position="60">
|
546
|
-
<caret line="4" column="0" lean-forward="false" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="0" />
|
547
|
-
<folding />
|
548
517
|
</state>
|
549
518
|
</provider>
|
550
519
|
</entry>
|
520
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/version.rb" />
|
551
521
|
<entry file="file://$PROJECT_DIR$/README.md">
|
552
522
|
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
553
523
|
<state split_layout="SPLIT">
|
554
524
|
<first_editor relative-caret-position="75">
|
555
525
|
<caret line="5" column="75" lean-forward="false" selection-start-line="5" selection-start-column="75" selection-end-line="5" selection-end-column="75" />
|
556
|
-
<folding />
|
557
526
|
</first_editor>
|
558
527
|
<second_editor />
|
559
528
|
</state>
|
560
529
|
</provider>
|
561
530
|
</entry>
|
562
|
-
<entry file="file://$PROJECT_DIR$/lib/ext_logger/
|
531
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/main.rb">
|
563
532
|
<provider selected="true" editor-type-id="text-editor">
|
564
533
|
<state relative-caret-position="1530">
|
565
534
|
<caret line="102" column="32" lean-forward="false" selection-start-line="102" selection-start-column="32" selection-end-line="102" selection-end-column="32" />
|
566
|
-
<folding>
|
567
|
-
<element signature="e#6879#8239#0" expanded="false" />
|
568
|
-
</folding>
|
569
535
|
</state>
|
570
536
|
</provider>
|
571
537
|
</entry>
|
@@ -573,7 +539,6 @@
|
|
573
539
|
<provider selected="true" editor-type-id="text-editor">
|
574
540
|
<state relative-caret-position="0">
|
575
541
|
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
576
|
-
<folding />
|
577
542
|
</state>
|
578
543
|
</provider>
|
579
544
|
</entry>
|
@@ -581,7 +546,6 @@
|
|
581
546
|
<provider selected="true" editor-type-id="text-editor">
|
582
547
|
<state relative-caret-position="240">
|
583
548
|
<caret line="16" column="41" lean-forward="true" selection-start-line="16" selection-start-column="41" selection-end-line="16" selection-end-column="41" />
|
584
|
-
<folding />
|
585
549
|
</state>
|
586
550
|
</provider>
|
587
551
|
</entry>
|
@@ -590,27 +554,16 @@
|
|
590
554
|
<state split_layout="SPLIT">
|
591
555
|
<first_editor relative-caret-position="75">
|
592
556
|
<caret line="5" column="75" lean-forward="false" selection-start-line="5" selection-start-column="75" selection-end-line="5" selection-end-column="75" />
|
593
|
-
<folding />
|
594
557
|
</first_editor>
|
595
558
|
<second_editor />
|
596
559
|
</state>
|
597
560
|
</provider>
|
598
561
|
</entry>
|
599
|
-
<entry file="file://$PROJECT_DIR$/lib/ext_logger/version.rb"
|
600
|
-
|
601
|
-
<state relative-caret-position="60">
|
602
|
-
<caret line="4" column="0" lean-forward="true" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="0" />
|
603
|
-
<folding />
|
604
|
-
</state>
|
605
|
-
</provider>
|
606
|
-
</entry>
|
607
|
-
<entry file="file://$PROJECT_DIR$/lib/ext_logger/logger.rb">
|
562
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/version.rb" />
|
563
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/main.rb">
|
608
564
|
<provider selected="true" editor-type-id="text-editor">
|
609
565
|
<state relative-caret-position="1530">
|
610
566
|
<caret line="102" column="32" lean-forward="false" selection-start-line="102" selection-start-column="32" selection-end-line="102" selection-end-column="32" />
|
611
|
-
<folding>
|
612
|
-
<element signature="e#6879#8239#0" expanded="false" />
|
613
|
-
</folding>
|
614
567
|
</state>
|
615
568
|
</provider>
|
616
569
|
</entry>
|
@@ -618,7 +571,6 @@
|
|
618
571
|
<provider selected="true" editor-type-id="text-editor">
|
619
572
|
<state relative-caret-position="0">
|
620
573
|
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
621
|
-
<folding />
|
622
574
|
</state>
|
623
575
|
</provider>
|
624
576
|
</entry>
|
@@ -643,19 +595,10 @@
|
|
643
595
|
</state>
|
644
596
|
</provider>
|
645
597
|
</entry>
|
646
|
-
<entry file="file://$PROJECT_DIR$/lib/ext_logger/version.rb">
|
647
|
-
<provider selected="true" editor-type-id="text-editor">
|
648
|
-
<state relative-caret-position="30">
|
649
|
-
<caret line="2" column="2" lean-forward="false" selection-start-line="2" selection-start-column="2" selection-end-line="2" selection-end-column="19" />
|
650
|
-
<folding />
|
651
|
-
</state>
|
652
|
-
</provider>
|
653
|
-
</entry>
|
654
598
|
<entry file="file://$PROJECT_DIR$/Gemfile">
|
655
599
|
<provider selected="true" editor-type-id="text-editor">
|
656
600
|
<state relative-caret-position="0">
|
657
601
|
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
658
|
-
<folding />
|
659
602
|
</state>
|
660
603
|
</provider>
|
661
604
|
</entry>
|
@@ -663,44 +606,49 @@
|
|
663
606
|
<provider selected="true" editor-type-id="text-editor">
|
664
607
|
<state relative-caret-position="2850">
|
665
608
|
<caret line="345" column="50" lean-forward="false" selection-start-line="345" selection-start-column="40" selection-end-line="345" selection-end-column="50" />
|
666
|
-
<folding />
|
667
609
|
</state>
|
668
610
|
</provider>
|
669
611
|
</entry>
|
670
|
-
<entry file="file://$PROJECT_DIR$/
|
612
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
613
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
614
|
+
<state split_layout="SPLIT">
|
615
|
+
<first_editor relative-caret-position="90">
|
616
|
+
<caret line="6" column="16" lean-forward="false" selection-start-line="6" selection-start-column="16" selection-end-line="6" selection-end-column="16" />
|
617
|
+
<folding />
|
618
|
+
</first_editor>
|
619
|
+
<second_editor />
|
620
|
+
</state>
|
621
|
+
</provider>
|
622
|
+
</entry>
|
623
|
+
<entry file="file://$PROJECT_DIR$/ext_logger.gemspec">
|
671
624
|
<provider selected="true" editor-type-id="text-editor">
|
672
|
-
<state relative-caret-position="
|
673
|
-
<caret line="
|
625
|
+
<state relative-caret-position="45">
|
626
|
+
<caret line="3" column="28" lean-forward="false" selection-start-line="3" selection-start-column="28" selection-end-line="3" selection-end-column="28" />
|
674
627
|
<folding />
|
675
628
|
</state>
|
676
629
|
</provider>
|
677
630
|
</entry>
|
678
|
-
<entry file="file://$PROJECT_DIR$/lib/ext_logger
|
631
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger.rb">
|
679
632
|
<provider selected="true" editor-type-id="text-editor">
|
680
|
-
<state relative-caret-position="
|
681
|
-
<caret line="
|
682
|
-
<folding
|
683
|
-
<element signature="e#6879#8239#0" expanded="false" />
|
684
|
-
</folding>
|
633
|
+
<state relative-caret-position="30">
|
634
|
+
<caret line="2" column="6" lean-forward="false" selection-start-line="2" selection-start-column="6" selection-end-line="5" selection-end-column="5" />
|
635
|
+
<folding />
|
685
636
|
</state>
|
686
637
|
</provider>
|
687
638
|
</entry>
|
688
|
-
<entry file="file://$PROJECT_DIR$/ext_logger.
|
639
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/version.rb">
|
689
640
|
<provider selected="true" editor-type-id="text-editor">
|
690
|
-
<state relative-caret-position="
|
691
|
-
<caret line="
|
641
|
+
<state relative-caret-position="45">
|
642
|
+
<caret line="3" column="0" lean-forward="false" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
|
692
643
|
<folding />
|
693
644
|
</state>
|
694
645
|
</provider>
|
695
646
|
</entry>
|
696
|
-
<entry file="file://$PROJECT_DIR$/
|
697
|
-
<provider selected="true" editor-type-id="
|
698
|
-
<state
|
699
|
-
<
|
700
|
-
|
701
|
-
<folding />
|
702
|
-
</first_editor>
|
703
|
-
<second_editor />
|
647
|
+
<entry file="file://$PROJECT_DIR$/lib/ext_logger/main.rb">
|
648
|
+
<provider selected="true" editor-type-id="text-editor">
|
649
|
+
<state relative-caret-position="326">
|
650
|
+
<caret line="241" column="25" lean-forward="true" selection-start-line="241" selection-start-column="25" selection-end-line="241" selection-end-column="25" />
|
651
|
+
<folding />
|
704
652
|
</state>
|
705
653
|
</provider>
|
706
654
|
</entry>
|
data/README.md
CHANGED
@@ -4,6 +4,11 @@ Welcome to your new gem! In this directory, you'll find the files you need to be
|
|
4
4
|
|
5
5
|
```explain
|
6
6
|
Extended Logger class, log output to console in non-production environment.
|
7
|
+
2019-01-20(0.2.3):
|
8
|
+
The internal structure changes greatly.
|
9
|
+
Adding hash parameters:
|
10
|
+
:log_max_num (keep the latest number of log files according to the parameter values, and delete the redundancy),
|
11
|
+
|
7
12
|
2018-12-25(0.2.2):
|
8
13
|
The internal structure changes greatly.
|
9
14
|
Adding hash parameters:
|
@@ -50,31 +55,31 @@ Or install it yourself as:
|
|
50
55
|
2. Output of normal log (Extended logger.info):
|
51
56
|
|
52
57
|
```ruby
|
53
|
-
logger.info("
|
58
|
+
logger.info("log content")
|
54
59
|
```
|
55
60
|
|
56
61
|
3. Output of debug log (Extended logger.info):
|
57
62
|
|
58
63
|
```ruby
|
59
|
-
logger.debug("
|
64
|
+
logger.debug("log content")
|
60
65
|
```
|
61
66
|
|
62
67
|
4. Output of error log (Extended logger.error):
|
63
68
|
|
64
69
|
```ruby
|
65
|
-
logger.error("
|
70
|
+
logger.error("log content")
|
66
71
|
```
|
67
72
|
|
68
73
|
5. Output of warning log (Extended logger.warn):
|
69
74
|
|
70
75
|
```ruby
|
71
|
-
logger.warn("
|
76
|
+
logger.warn("log content")
|
72
77
|
```
|
73
78
|
|
74
79
|
6. Output of fatal log (Extended logger.fatal):
|
75
80
|
|
76
81
|
```ruby
|
77
|
-
logger.fatal("
|
82
|
+
logger.fatal("log content")
|
78
83
|
```
|
79
84
|
|
80
85
|
7. Output of exception log (Extended logger.error):
|
@@ -83,7 +88,7 @@ Or install it yourself as:
|
|
83
88
|
logger.exception(e) # when rescure Exception => e
|
84
89
|
```
|
85
90
|
|
86
|
-
|
91
|
+
8. Output of memory usage (Extended logger.warn):
|
87
92
|
|
88
93
|
```ruby
|
89
94
|
logger.record_memory # at the begin of programme
|
data/ext_logger.gemspec
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
lib = File.expand_path("../lib", __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
|
5
|
-
require "ext_logger/logger"
|
4
|
+
require "ext_logger/version"
|
6
5
|
|
7
6
|
Gem::Specification.new do |spec|
|
8
7
|
spec.name = "ext_logger"
|
@@ -2,7 +2,6 @@ require 'logger'
|
|
2
2
|
# require 'rails'
|
3
3
|
|
4
4
|
class ExtLogger
|
5
|
-
VERSION = "0.2.2"
|
6
5
|
|
7
6
|
DATE_FORMAT_MEMBER_LIST = %w(%Y %y %m %d %wday %H %M %S)
|
8
7
|
LOG_NAME = '{log_name}' # Log name pseudo-code
|
@@ -30,7 +29,7 @@ class ExtLogger
|
|
30
29
|
# :log_max_num -- Keep the latest number of log files according to the parameter values, and delete the redundancy;
|
31
30
|
# :debug -- Debug for puts
|
32
31
|
def initialize(*args)
|
33
|
-
func_name = "[#{self.to_s}.initialize]"
|
32
|
+
func_name = "[#{self.class.to_s}.initialize]"
|
34
33
|
output_debug "#{func_name} args.size: #{args.size}"
|
35
34
|
init(args[0]) if args.size == 1
|
36
35
|
|
@@ -65,6 +64,7 @@ class ExtLogger
|
|
65
64
|
|
66
65
|
# Output info
|
67
66
|
def info(*args)
|
67
|
+
check_log_file
|
68
68
|
output_normal('INFO', *args)
|
69
69
|
|
70
70
|
@logger.info(*args)
|
@@ -72,6 +72,7 @@ class ExtLogger
|
|
72
72
|
|
73
73
|
# Output debug
|
74
74
|
def debug(*args)
|
75
|
+
check_log_file
|
75
76
|
output_normal('DEBUG', *args)
|
76
77
|
|
77
78
|
@logger.debug(*args)
|
@@ -79,6 +80,7 @@ class ExtLogger
|
|
79
80
|
|
80
81
|
# Output error
|
81
82
|
def error(*args)
|
83
|
+
check_log_file
|
82
84
|
output_normal('ERROR', *args)
|
83
85
|
|
84
86
|
@logger.error(*args)
|
@@ -86,6 +88,7 @@ class ExtLogger
|
|
86
88
|
|
87
89
|
# output warning
|
88
90
|
def warn(*args)
|
91
|
+
check_log_file
|
89
92
|
output_normal('WARN', *args)
|
90
93
|
|
91
94
|
@logger.warn(*args)
|
@@ -93,6 +96,7 @@ class ExtLogger
|
|
93
96
|
|
94
97
|
# Output fatal
|
95
98
|
def fatal(*args)
|
99
|
+
check_log_file
|
96
100
|
output_normal('FATAL', *args)
|
97
101
|
|
98
102
|
@logger.fatal(*args)
|
@@ -104,6 +108,10 @@ class ExtLogger
|
|
104
108
|
|
105
109
|
if args.size == 1
|
106
110
|
output_debug "#{func_name} args[0].class: #{args[0].class}"
|
111
|
+
if !args[0].class.to_s.include?('Error')
|
112
|
+
@logger.error("The object 'e:#{args[0].to_s}' is not exception. e.class: #{args[0].class}")
|
113
|
+
return
|
114
|
+
end
|
107
115
|
str = args[0].message + args[0].backtrace.join("\n")
|
108
116
|
args = [str]
|
109
117
|
end
|
@@ -183,7 +191,7 @@ class ExtLogger
|
|
183
191
|
private
|
184
192
|
# Private function for initialize
|
185
193
|
def init(path, opt={})
|
186
|
-
func_name = "[#{self.to_s}.init]"
|
194
|
+
func_name = "[#{self.class.to_s}.init]"
|
187
195
|
@debug = true if opt[:debug]
|
188
196
|
|
189
197
|
output_debug "#{func_name} path: #{path}, opt: #{opt}"
|
@@ -229,10 +237,17 @@ class ExtLogger
|
|
229
237
|
delete_redundant_file
|
230
238
|
end
|
231
239
|
|
240
|
+
# Check: Does the log file exist? If not, create it immediately
|
241
|
+
def check_log_file
|
242
|
+
_file_path = get_path
|
243
|
+
# File.new(_file_path, 'w+') if !File.exist?(_file_path)
|
244
|
+
@logger = Logger.new(_file_path) if !File.exist?(_file_path)
|
245
|
+
end
|
246
|
+
|
232
247
|
|
233
248
|
# Check split_format contain the format member
|
234
249
|
def has_date_format_member
|
235
|
-
func_name = "[#{self.to_s}.has_date_format_member]"
|
250
|
+
func_name = "[#{self.class.to_s}.has_date_format_member]"
|
236
251
|
|
237
252
|
_has_flag = false
|
238
253
|
return _has_flag if is_blank?(@log_split_format) || !@log_split_format.include?('%')
|
@@ -250,7 +265,7 @@ class ExtLogger
|
|
250
265
|
|
251
266
|
# Split log file, doesn't consider file extensions
|
252
267
|
def split_file
|
253
|
-
func_name = "[#{self.to_s}.split_file]"
|
268
|
+
func_name = "[#{self.class.to_s}.split_file]"
|
254
269
|
if has_date_format_member
|
255
270
|
_file_path = get_path
|
256
271
|
# _file_ext = ''
|
@@ -266,7 +281,9 @@ class ExtLogger
|
|
266
281
|
output_debug "#{func_name} Current log ctime: ##{_file_date}, mtime: #{File.atime(_file_path)}, atime: #{File.mtime(_file_path)}"
|
267
282
|
|
268
283
|
_now_time = Time.now
|
269
|
-
_split_format = get_split_format
|
284
|
+
_split_format = get_split_format
|
285
|
+
_split_format = _split_format.gsub('%S', '').gsub('%s', '') if !@debug # Non-debug state, does not support seconds splitting files.
|
286
|
+
output_debug "#{func_name} split_format: #{_split_format}"
|
270
287
|
output_debug "#{func_name} _now_time: #{_now_time.strftime(_split_format)}"
|
271
288
|
if _file_date.strftime(_split_format) != _now_time.strftime(_split_format)
|
272
289
|
@logger.close
|
@@ -287,7 +304,7 @@ class ExtLogger
|
|
287
304
|
|
288
305
|
# Delete redundant old log file
|
289
306
|
def delete_redundant_file
|
290
|
-
func_name = "[#{self.to_s}.delete_redundant_file]"
|
307
|
+
func_name = "[#{self.class.to_s}.delete_redundant_file]"
|
291
308
|
output_debug "#{func_name} get_log_max_num: #{get_log_max_num}"
|
292
309
|
return if get_log_max_num == 0
|
293
310
|
|
@@ -301,10 +318,12 @@ class ExtLogger
|
|
301
318
|
end
|
302
319
|
output_debug "#{func_name} _file_list: #{_file_list}"
|
303
320
|
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
321
|
+
if _file_list.size >= 1
|
322
|
+
while _file_list.size > get_log_max_num
|
323
|
+
File.delete("#{get_folder}/#{_file_list.at(-1)}")
|
324
|
+
_file_list.delete_at(-1)
|
325
|
+
output_debug "#{func_name} _file_list: #{_file_list}"
|
326
|
+
end
|
308
327
|
end
|
309
328
|
end
|
310
329
|
|
@@ -364,7 +383,7 @@ class ExtLogger
|
|
364
383
|
|
365
384
|
# Get max num of log file
|
366
385
|
def get_log_max_num
|
367
|
-
return @log_max_num
|
386
|
+
return @log_max_num || 0
|
368
387
|
end
|
369
388
|
|
370
389
|
# Validation the Rails object
|
@@ -384,7 +403,7 @@ class ExtLogger
|
|
384
403
|
|
385
404
|
# Empty judgement for object
|
386
405
|
def is_blank?(obj)
|
387
|
-
func_name = "[#{self.to_s}.is_blank?]"
|
406
|
+
func_name = "[#{self.class.to_s}.is_blank?]"
|
388
407
|
output_debug "#{func_name} obj.class: #{obj.class}"
|
389
408
|
return true if obj.nil?
|
390
409
|
return (obj.is_a?(String) || obj.is_a?(Array) || obj.is_a?(Hash)) && obj.empty?
|
data/lib/ext_logger.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ext_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ruby
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -65,7 +65,8 @@ files:
|
|
65
65
|
- bin/setup
|
66
66
|
- ext_logger.gemspec
|
67
67
|
- lib/ext_logger.rb
|
68
|
-
- lib/ext_logger/
|
68
|
+
- lib/ext_logger/main.rb
|
69
|
+
- lib/ext_logger/version.rb
|
69
70
|
homepage: ''
|
70
71
|
licenses:
|
71
72
|
- MIT
|