docstring for log

This commit is contained in:
Will McGugan
2022-08-25 09:27:30 +01:00
parent 4a6b1996de
commit 8f51d2a52e
3 changed files with 39 additions and 8 deletions

View File

@@ -47,5 +47,5 @@ In the other console, run your application using `textual run` and the `--dev` s
textual run --dev my_app.py
```
Anything you `print` from your application will be displayed in the console window. You can also call the `log()` method on App and Widget objects for advanced formatting. Try it with `self.log(self.tree)`.
Anything you `print` from your application will be displayed in the console window. You can also call the [`log()`][textual.message_pump.MessagePump.log] method on App and Widget objects for advanced formatting. Try it with `self.log(self.tree)`.