Skip to content

Commit 74f803a

Browse files
committed
Update TRACEBACKS.md
Logging "writes" instead of "prints".
1 parent 216bdb9 commit 74f803a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/TRACEBACKS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ What the `print` calls revealed is that we used `/` when we should have used `//
9393
[Logging][logging] can be used similarly to `print`, but it is more powerful.
9494
What is logged can be configured by the logging severity (e.g., 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'.)
9595
A call to the `logging.error` function can pass `True` to the `exc_info` parameter, which will additionally log the stack trace.
96-
By configuring multiple handlers, logging can print to more than one place with the same logging function.
96+
By configuring multiple handlers, logging can write to more than one place with the same logging function.
9797

9898
Following is a an example of logging printed to the console:
9999

0 commit comments

Comments
 (0)