File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
approvaltests-util/docs/reference Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,16 @@ convenience functions to properly format and call based on that format.
3838 SimpleLogger, instead, allows you to toggle individual event types.
3939 For example, the following would allow you to turn on only the queries and where they came from:
4040
41- snippet: simple_logger_toggles
41+ <!-- snippet: simple_logger_toggles -->
42+ <a id =' snippet-simple_logger_toggles ' ></a >
43+ ``` java
44+ SimpleLogger . get(). marker = true ;
45+ SimpleLogger . get(). event = false ;
46+ SimpleLogger . get(). variable = false ;
47+ SimpleLogger . get(). query = true ;
48+ ```
49+ <sup ><a href =' /approvaltests-util-tests/src/test/java/com/spun/util/logger/SimpleLoggerTest.java#L42-L47 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-simple_logger_toggles ' title =' Start of snippet ' >anchor</a ></sup >
50+ <!-- endSnippet -->
4251
4352* ** Can be used concurrently with SimpleLogger**
4453 There is nothing that prevents using both simultaneously
You can’t perform that action at this time.
0 commit comments