Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Commit 67abf4c

Browse files
author
Caitlin Bales (MSFT)
authored
Merge pull request #65 from microsoftgraph/bugfix
Make logger public
2 parents 37272a2 + 25b8642 commit 67abf4c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ dependency {
2222
}
2323
```
2424

25+
### 1.2 Enable ProGuard
26+
The nature of the Graph API is such that the SDK needs quite a large set of classes to describe its functionality. You will need to ensure that [ProGuard](https://developer.android.com/studio/build/shrink-code.html) is enabled on your project. Otherwise, you will incur long build times for functionality that is not necessary relevant to your particular application. If you are still hitting the 64k method limit, you can also enable [multidexing](https://developer.android.com/studio/build/multidex.html).
27+
2528
## 2. Getting started
2629

2730
### 2.1 Register your application

graphsdk/src/main/java/com/microsoft/graph/extensions/GraphServiceClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public Builder executors(final IExecutors executors) {
8787
* @param logger The logger
8888
* @return the instance of this builder
8989
*/
90-
private Builder logger(final ILogger logger) {
90+
public Builder logger(final ILogger logger) {
9191
mClient.setLogger(logger);
9292
return this;
9393
}

0 commit comments

Comments
 (0)