blob: 4fb889eee5c070c85d4948cd4dca38e3f31b4722 [file] [log] [blame]
package platform
import (
"fmt"
"log"
"os"
)
// Infof prints a formatted message to stdout.
func Infof(format string, args ...interface{}) {
fmt.Printf(format+"\n", args...)
}
// Error prints a series of args to stderr.
func Error(args ...interface{}) {
fmt.Fprintln(os.Stderr, args...)
}
// Fatalf prints a formatted message to stderr. Panics after printing.
func Fatalf(format string, v ...interface{}) {
log.Fatalf(format, v...)
}