alchemlyb icon indicating copy to clipboard operation
alchemlyb copied to clipboard

use logging

Open orbeckst opened this issue 7 years ago • 3 comments

For debug and info output we do not want to use print but use the standard logging facility.

orbeckst avatar Nov 01 '17 18:11 orbeckst

See https://github.com/alchemistry/alchemlyb/pull/32#discussion_r148339627 for more discussion.

orbeckst avatar Nov 01 '17 18:11 orbeckst

We now also use logging for MBAR (see PR #172 ).

orbeckst avatar Oct 29 '21 17:10 orbeckst

There are currently no print() function calls in alchemlyb itself.

To close this issue, we only need to add to the docs

  • [x] user: how to enable logging
  • [x] API doc: use logger with name "alchemlyb.MODULE.CLASS" name space.

We can then keep adding logging where necessary.

orbeckst avatar Oct 29 '21 17:10 orbeckst

With PR #303 we now have docs for logging.

orbeckst avatar Jun 06 '23 22:06 orbeckst