Package org.slf4j.instrumentation
Class LogTransformer.Builder
java.lang.Object
org.slf4j.instrumentation.LogTransformer.Builder
- Enclosing class:
LogTransformer
Builder provides a flexible way of configuring some of many options on the
parent class instead of providing many constructors.
http://rwhansen.blogspot.com/2007/07/theres-builder-pattern-that-joshua.html
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddEntryExit
(boolean b) Should each method log entry (with parameters) and exit (with parameters and return value)?build()
Build and return the LogTransformer corresponding to the options set in this Builder.verbose
(boolean b) Should LogTransformer be verbose in what it does? This currently list the names of the classes being processed.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Build and return the LogTransformer corresponding to the options set in this Builder.- Returns:
-
addEntryExit
Should each method log entry (with parameters) and exit (with parameters and return value)?- Parameters:
b
- value of flag- Returns:
-
verbose
Should LogTransformer be verbose in what it does? This currently list the names of the classes being processed.- Parameters:
b
-- Returns:
-
ignore
-
level
-