From b66a0517929a0fd42fcb2fd5e6814a89b4b231df Mon Sep 17 00:00:00 2001 From: Greg Messner Date: Sun, 21 Apr 2019 20:40:21 -0700 Subject: [PATCH] Bumber version and added content for new logging. --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d0f91bdd..b19cb443 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ To utilize the GitLab API for Java in your project, simply add the following dep ```java 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 { org.gitlab4j gitlab4j-api - 4.10.3 + 4.10.4 ``` @@ -114,6 +114,12 @@ gitLabApi.enableRequestResponseLogging(java.util.logging.Level.INFO); // Log using the specified logger and the INFO level 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); ``` --- -- GitLab