Add new line to console logger.

This commit is contained in:
Daniel Theophanes
2013-03-03 20:42:58 -08:00
parent 8e60488e77
commit 5edef41036
+3 -3
View File
@@ -5,14 +5,14 @@ import "fmt"
type ConsoleLogger struct{}
func (ConsoleLogger) Error(format string, a ...interface{}) error {
fmt.Printf("E: "+format, a...)
fmt.Printf("E: "+format+"\n", a...)
return nil
}
func (ConsoleLogger) Warning(format string, a ...interface{}) error {
fmt.Printf("W: "+format, a...)
fmt.Printf("W: "+format+"\n", a...)
return nil
}
func (ConsoleLogger) Info(format string, a ...interface{}) error {
fmt.Printf("I: "+format, a...)
fmt.Printf("I: "+format+"\n", a...)
return nil
}