diff --git a/README.md b/README.md
index cec0fc5..d8532be 100644
--- a/README.md
+++ b/README.md
@@ -9,14 +9,14 @@
**Use:** Add the following to web.xml
```xml
-
- RequestInspectorFilter
- ljunggren.io.servletUtils.filter.RequestInspectorFilter
-
-
- RequestInspectorFilter
- /*
-
+
+ RequestInspectorFilter
+ ljunggren.io.servletUtils.filter.RequestInspectorFilter
+
+
+ RequestInspectorFilter
+ /*
+
```
Filter will capture the following:
@@ -33,25 +33,34 @@
**Use:** Add the following to web.xml
```xml
-
- ResponseInspectorFilter
- ljunggren.io.servletUtils.filter.ResponseInspectorFilter
-
-
- ResponseInspectorFilter
- /*
-
+
+ ResponseInspectorFilter
+ ljunggren.io.servletUtils.filter.ResponseInspectorFilter
+
+
+ ResponseInspectorFilter
+ /*
+
```
### Filter Logger
-By default, the filters will log to System.out. A custom logger can be added by inheriting from the FilterLogger class and adding to the init-param.
+By default, the filters will log to System.out. A custom logger can be added by inheriting from the FilterLogger class, overridding the log() method, and adding to the init-param.
+
+```java
+public class MyCustomLogger extends FilterLogger {
+ @Override
+ public void log(String message) {
+ // custom logging
+ }
+}
+```
```xml
-
- filterLoggerClass
- my.CustomLogger
-
+
+ filterLoggerClass
+ my.MyCustomLogger
+
```
**Note:** param-name must be *filterLoggerClass*