acquire-project / acquire-python

Acquire: a multi-camera video streaming software focusing on microscopy
Apache License 2.0
18 stars 9 forks source link

Use logging best practices #37

Open aliddell opened 1 year ago

aliddell commented 1 year ago

Use a named logger

cpx-python currently uses the default Python logger, which can potentially be reset and / or reconfigured by other libraries working alongside cpx-python. We should use a named logger to minimize the chance of this happening.

avoid fstrings

For performance. f strings are evaluated at the call site instead of inside.

nclack commented 1 year ago

this is such a good idea