Skip to content

Commit b66a051

Browse files
committed
Bumber version and added content for new logging.
1 parent f027fd4 commit b66a051

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To utilize the GitLab API for Java in your project, simply add the following dep
1111
```java
1212
dependencies {
1313
...
14-
compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.10.3'
14+
compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.10.4'
1515
}
1616
```
1717

@@ -22,7 +22,7 @@ dependencies {
2222
<dependency>
2323
<groupId>org.gitlab4j</groupId>
2424
<artifactId>gitlab4j-api</artifactId>
25-
<version>4.10.3</version>
25+
<version>4.10.4</version>
2626
</dependency>
2727
```
2828

@@ -114,6 +114,12 @@ gitLabApi.enableRequestResponseLogging(java.util.logging.Level.INFO);
114114

115115
// Log using the specified logger and the INFO level
116116
gitLabApi.enableRequestResponseLogging(youtLoggerInstance, java.util.logging.Level.INFO);
117+
118+
// Log using the shared logger, at the INFO level, and include up to 1024 bytes of entity logging
119+
gitLabApi.enableRequestResponseLogging(java.util.logging.Level.INFO, 1024);
120+
121+
// Log using the specified logger, at the INFO level, and up to 1024 bytes of entity logging
122+
gitLabApi.enableRequestResponseLogging(youtLoggerInstance, java.util.logging.Level.INFO, 1024);
117123
```
118124

119125
---

0 commit comments

Comments
 (0)