BCDA-APS / use_bluesky

Tools to help APS use the Bluesky Framework (https://blueskyproject.io/)
8 stars 3 forks source link

prefer logging to print #40

Closed prjemian closed 5 years ago

prjemian commented 5 years ago

use logging package rather than print() statements

prjemian commented 5 years ago

see:

Quoting the latter:

The Python logging library lets you:

  • Control what’s emitted
  • Define what types of information you want to include in your logs
  • Configure how it looks when it’s emitted
  • Most importantly, set the destination for your logs