Skip to content
mottosso edited this page Nov 17, 2014 · 6 revisions

A library SHOULD NOT append a handler to logging.

+

  • Library is unobtrusive; i.e. it doesn't interfere with higher-level application logging

-

  • Client must append handler of pre-determined name
  • If no handler is appended, errors are thrown

A library SHOULD append a handler to logging.

+

  • Library reports relevant messages
  • Handler can be accessed via logging.getLogger(<name>)

-

  • With many libraries, logging may be substantial
Clone this wiki locally