Skip to content

Commit ae8ffbc

Browse files
committed
d updated markdown snippets
1 parent 5a34d85 commit ae8ffbc

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

approvaltests-util/docs/reference/SimpleLogger.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)