code: func (self *Dbgr) SetOutput(output interface{}) {
  	if output == nil {
  		self.emit = standardEmit()
  		return
  	}
  	switch output := output.(type) {
  	case *log.Logger:
  		self.emit = _emitLogger{
  			logger: output,
  		}
  		return
  	case io.Writer:
  		self.emit = _emitWriter{
  			writer: output,
  		}
  		return
  	case string:
  		if output == "log" {
  			self.emit = _emitLog{}
  			return
  		}
  	}
  	panic(output)
  }
docs: // SetOutput will accept the following as a destination for output:
  //
  //      *log.Logger         Print*/Panic*/Fatal* of the logger
  //      io.Writer           -
  //      nil                 Reset to the default output (os.Stderr)
  //      "log"               Print*/Panic*/Fatal* via the "log" package
  //