Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
b66a0517
Commit
b66a0517
authored
6 years ago
by
Greg Messner
Browse files
Options
Download
Email Patches
Plain Diff
Bumber version and added content for new logging.
parent
f027fd44
main
5.0.x
5.0.x.jdk17
6.x
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+8
-2
README.md
with
8 additions
and
2 deletions
+8
-2
README.md
+
8
-
2
View file @
b66a0517
...
@@ -11,7 +11,7 @@ To utilize the GitLab API for Java in your project, simply add the following dep
...
@@ -11,7 +11,7 @@ To utilize the GitLab API for Java in your project, simply add the following dep
```
java
```
java
dependencies
{
dependencies
{
...
...
compile
group:
'
org
.
gitlab4j
'
,
name:
'
gitlab4j
-
api
'
,
version:
'
4.10
.
3
'
compile
group:
'
org
.
gitlab4j
'
,
name:
'
gitlab4j
-
api
'
,
version:
'
4.10
.
4
'
}
}
```
```
...
@@ -22,7 +22,7 @@ dependencies {
...
@@ -22,7 +22,7 @@ dependencies {
<dependency>
<dependency>
<groupId>
org.gitlab4j
</groupId>
<groupId>
org.gitlab4j
</groupId>
<artifactId>
gitlab4j-api
</artifactId>
<artifactId>
gitlab4j-api
</artifactId>
<version>
4.10.
3
</version>
<version>
4.10.
4
</version>
</dependency>
</dependency>
```
```
...
@@ -114,6 +114,12 @@ gitLabApi.enableRequestResponseLogging(java.util.logging.Level.INFO);
...
@@ -114,6 +114,12 @@ gitLabApi.enableRequestResponseLogging(java.util.logging.Level.INFO);
// Log using the specified logger and the INFO level
// Log using the specified logger and the INFO level
gitLabApi
.
enableRequestResponseLogging
(
youtLoggerInstance
,
java
.
util
.
logging
.
Level
.
INFO
);
gitLabApi
.
enableRequestResponseLogging
(
youtLoggerInstance
,
java
.
util
.
logging
.
Level
.
INFO
);
// Log using the shared logger, at the INFO level, and include up to 1024 bytes of entity logging
gitLabApi
.
enableRequestResponseLogging
(
java
.
util
.
logging
.
Level
.
INFO
,
1024
);
// Log using the specified logger, at the INFO level, and up to 1024 bytes of entity logging
gitLabApi
.
enableRequestResponseLogging
(
youtLoggerInstance
,
java
.
util
.
logging
.
Level
.
INFO
,
1024
);
```
```
---
---
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets