Files
service/stdservice/console_log.go
T
2013-03-02 22:12:42 -08:00

19 lines
415 B
Go

package stdservice
import "fmt"
type ConsoleLogger struct{}
func (ConsoleLogger) LogError(format string, a ...interface{}) error {
fmt.Printf("E: "+format, a...)
return nil
}
func (ConsoleLogger) LogWarning(format string, a ...interface{}) error {
fmt.Printf("W: "+format, a...)
return nil
}
func (ConsoleLogger) LogInfo(format string, a ...interface{}) error {
fmt.Printf("I: "+format, a...)
return nil
}