files.com 1.1.118 → 1.1.119
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -36
- data/_VERSION +1 -1
- data/lib/files.com/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac7f390f7960a92bd1228a5c7ccc994530f0dc454d6d36e5703e717ef9253070
|
4
|
+
data.tar.gz: ac94a5ac3bac51ac7e5b2951b2cae55b61c2828cfa0d2c295283dc510fd1633b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c46a5914301e7fd89b640f2a46bcd70541bbb38db17e468c0295653c9bb6c5e43ccf75718305e8fb317d3c8b8a13ae4f37bb3a7d138c65480a478ac46c2e966b
|
7
|
+
data.tar.gz: 07472d9a8460bf66d03d5826a2a00bc5267e3bfb1711fef22f94a32cf50169a01478aacaae04110d4e2b7f8f5a24a3e57267ce35feea212a60f3be88c3ca0ed5
|
data/README.md
CHANGED
@@ -182,42 +182,6 @@ Maximum number of retries. The default value is 3.
|
|
182
182
|
Files.max_network_retries = 5
|
183
183
|
```
|
184
184
|
|
185
|
-
### Logging
|
186
|
-
|
187
|
-
The Files.com SDK is compatible with the standard log4j logging scheme.
|
188
|
-
|
189
|
-
Add `com.files` logger to your `Loggers` root in the `log4j2.xml` file.
|
190
|
-
|
191
|
-
```xml title="log4j2.xml"
|
192
|
-
<Loggers>
|
193
|
-
<!-- set preferred level -->
|
194
|
-
<Logger name="com.files" level="TRACE" />
|
195
|
-
<!-- to enable network request -->
|
196
|
-
<Logger name="okhttp3.logging.wire" level="INFO"/>
|
197
|
-
</Loggers>
|
198
|
-
```
|
199
|
-
|
200
|
-
Create a `resources/log4j2.xml` file.
|
201
|
-
|
202
|
-
```xml title="resources/log4j2.xml"
|
203
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
204
|
-
<Configuration>
|
205
|
-
<Appenders>
|
206
|
-
<Console name="Console" target="SYSTEM_OUT">
|
207
|
-
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
|
208
|
-
</Console>
|
209
|
-
</Appenders>
|
210
|
-
<Loggers>
|
211
|
-
<!-- set preferred level -->
|
212
|
-
<Logger name="com.files" level="TRACE"/>
|
213
|
-
<!-- to enable network request -->
|
214
|
-
<Logger name="okhttp3.logging.wire" level="INFO"/>
|
215
|
-
</Loggers>
|
216
|
-
</Configuration>
|
217
|
-
```
|
218
|
-
|
219
|
-
You can read more about [log4j2 configuration](https://logging.apache.org/log4j/2.x/manual/configuration.html).
|
220
|
-
|
221
185
|
## Errors
|
222
186
|
|
223
187
|
The Files.com Ruby SDK will return errors by raising exceptions. There are many exception classes defined in the Files SDK that correspond
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.119
|
data/lib/files.com/version.rb
CHANGED