code: func Dump(c context.Context, w io.Writer) (n int, err error) {
  	return logging.Get(c).(*MemLogger).Dump(w)
  }
docs: // Dump is a convenience function to dump the current contents of the memory
  // logger to the writer.
  //
  // This will panic if the current logger is not a memory logger.