NewLogUI generates a new cli.Ui that can be used for commands that write log
lines to the terminal. The caller is required to pass a cli.BasicUi so we
have access to the underlying writers.
Currently, the passed ui needs to be either *cli.ColoredUi or *cli.BasicUi
to work correctly. If more are needed, please add them.
type LogUI struct {
// contains filtered or unexported fields
}
LogUI is an implementation of the cli.Ui interface which can be used for
logging outputs. It differs from cli.BasicUi in the only fact that it does
not add a newline after each UI write.