Skip to content

Commit

Permalink
Merge pull request #17 from Moesif/feature-add-configuration-option
Browse files Browse the repository at this point in the history
Add: Setter method for logBody configuration option
  • Loading branch information
matthewoates authored Jun 28, 2019
2 parents 3790890 + 03efa64 commit a0c2172
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Add the Moesif dependency to your project's pom.xml file:
<dependency>
<groupId>com.moesif.servlet</groupId>
<artifactId>moesif-servlet</artifactId>
<version>1.5.5</version>
<version>1.5.6</version>
</dependency>
```

Expand All @@ -56,7 +56,7 @@ repositories {
}
dependencies {
compile 'com.moesif.servlet:moesif-servlet:1.5.5'
compile 'com.moesif.servlet:moesif-servlet:1.5.6'
}
```

Expand Down
2 changes: 1 addition & 1 deletion moesif-servlet/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.moesif.servlet</groupId>
<artifactId>moesif-servlet</artifactId>
<version>1.5.5</version>
<version>1.5.6</version>
<packaging>jar</packaging>
<name>moesif-servlet</name>
<description>Moesif SDK for Java Servlet to log and analyze API calls</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,14 @@ public void setDebug(boolean debug) {
this.debug = debug;
}

/**
* Sets the logBody flag
* @param logBody boolean
*/
public void setLogBody(boolean logBody) {
this.logBody = logBody;
}

/**
* Get the underlying APIController
* @return Returns the APIController instance
Expand Down

0 comments on commit a0c2172

Please sign in to comment.