You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling basicConfig in the init.pyhere has the effect of also adding aStreamHandler. This compels any python script/package/etc. that imports this package to print logs to stdout by default unless they explicitly remove this handler.
For python libraries, the convention is to add a named logger but no handlers (See notes 1 and 2 in Configuring Logging for a Library. Logs are certainly useful, so for development I would recommend calling basicConfig at the top of each test script where you want to see the output instead but not in the package.
closes#71
I also unexpectedly ran into rust complaining about a misaligned pointer
read. So I fixed that. I can't quite figure out why it manifested now,
but it was quite repeatable.
Calling
basicConfig
in the init.py here has the effect of also adding aStreamHandler
. This compels any python script/package/etc. that imports this package to print logs to stdout by default unless they explicitly remove this handler.For python libraries, the convention is to add a named logger but no handlers (See notes 1 and 2 in Configuring Logging for a Library. Logs are certainly useful, so for development I would recommend calling
basicConfig
at the top of each test script where you want to see the output instead but not in the package.Related: #37
The text was updated successfully, but these errors were encountered: