Added a simple Logf implementation. To be improved.

geesefs-0-30-9
Aaron Jacobs 2015-04-29 11:26:14 +10:00
parent dbbb61ad10
commit 380eba1dd5
1 changed files with 4 additions and 0 deletions

View File

@ -299,6 +299,10 @@ func (o *commonOp) Context() context.Context {
return o.ctx
}
func (o *commonOp) Logf(format string, v ...interface{}) {
o.logger.Printf(format, v...)
}
func (o *commonOp) respondErr(err error) {
if err == nil {
panic("Expect non-nil here.")