Skip to content

Commit

Permalink
d updated markdown snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed May 20, 2021
1 parent 5a34d85 commit ae8ffbc
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion approvaltests-util/docs/reference/SimpleLogger.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,16 @@ convenience functions to properly format and call based on that format.
SimpleLogger, instead, allows you to toggle individual event types.
For example, the following would allow you to turn on only the queries and where they came from:

snippet: simple_logger_toggles
<!-- snippet: simple_logger_toggles -->
<a id='snippet-simple_logger_toggles'></a>
```java
SimpleLogger.get().marker = true;
SimpleLogger.get().event = false;
SimpleLogger.get().variable = false;
SimpleLogger.get().query = true;
```
<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>
<!-- endSnippet -->

* **Can be used concurrently with SimpleLogger**
There is nothing that prevents using both simultaneously
Expand Down

0 comments on commit ae8ffbc

Please sign in to comment.