func ErrorMessage(msg string) Message {
	return Message{S: msg, Severity: diag.Error}
}
ErrorMessage creates a Message with Severity set to Error.
package logging
import (
	"github.com/pulumi/pulumi/sdk/v3/go/common/diag"
)
type Message struct {
	S        string
	Severity diag.Severity
}
func (m Message) String() string {
	return m.S
}
func (m Message) Empty() bool {
	return len(m.S) == 0 && len(m.Severity) == 0
}
func StatusMessage(msg string) Message {
	return Message{S: msg, Severity: diag.Info}
}
func WarningMessage(msg string) Message {
	return Message{S: msg, Severity: diag.Warning}
}