Files
service/stdservice/console_log.go
T
2013-03-02 21:51:53 -08:00

19 lines
397 B
Go

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