code: def __db_print(self_,level,msg,*args,**kw):
          
          self_or_cls = self_.self_or_cls
          if get_logger(name=self_or_cls.name).isEnabledFor(level):
  
              if dbprint_prefix and callable(dbprint_prefix):
                  msg = dbprint_prefix() + ": " + msg  # pylint: disable-msg=E1102
  
              get_logger(name=self_or_cls.name).log(level, msg, *args, **kw)
docs: Calls the logger returned by the get_logger() function,
          prepending the result of calling dbprint_prefix() (if any).
  
          See python's logging module for details.