Replace all invocations of logging to LOG.

By means of this, logging may be disabled easily when dicttoxml is
used as a library.