Update how_to_use.md

This commit is contained in:
Jan Rydzewski 2018-10-26 14:10:55 +02:00 committed by GitHub
parent d36a6dbec2
commit 188e87c65b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ new_tree = MyTransformer().transform(tree)
By default Lark silently resolves Shift/Reduce conflicts as Shift. To enable warnings pass `debug=True`. To get the messages printed you have to configure `logging` framework beforehand. For example:
```python
from lark import Lark
import logging
logging.basicConfig(level=logging.DEBUG)