Altered use of logging.

Removed all calls to: if (OdbConfiguration.IsLoggingEnabled()) that
preceeded logging code.  This check was included in loops causing it to
be called n times in many places.  The implementation of the DLogging
type will be changed so that it is more performant and flexible.