code: func createOutputWrapperForClass(uri string, class LogClass) (*loggerOutputWrapper, error) {
  	// Generate the output wrapper or capture the cached one
  	ow, err := newOutput(uri)
  	if err != nil {
  		return nil, err
  	}
  
  	// generate the wrapper
  	lo := &loggerOutputWrapper{Class: class, OutputWrapper: ow}
  	return lo, nil
  }
docs: // createOutputWrapperForClass generates a new loggerOutputWrapper based on the passed
  // parameters. It will return an error if it fails to generate the output.