Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/main/java/examples/Examples.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public static void main(String[] args) {
// If the "RememberME" option is set to true in your first login you can access TileDB-Cloud without the need
// to pass any credentials from now on. Just create the client as follows:
// TileDBClient tileDBClient = new TileDBClient();
tileDBClient.setDebugging(true);


// Uncomment to run whichever example you want
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/io/tiledb/cloud/TileDBClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,14 @@ private static boolean loadCloudJSONFileFromHome() throws IOException {
return true;
}

/**
* Enables debugging logs
* @param flag True to enable
*/
public void setDebugging(boolean flag){
this.apiClient.setDebugging(flag);
}

/**
* This method throws a warning if there is no login information in the json file or passed
* as a parameter. If the login information has data it calls another helper method to save it.
Expand Down