code: def uncork(self):
          
          self._send = self.context.send
          for msg in self._buffer:
              self._send(msg)
          self._buffer = None
docs: #305: during startup :class:`LogHandler` may be installed before it is
          possible to route messages, therefore messages are buffered until
          :meth:`uncork` is called by :class:`ExternalContext`.