Added a LogF method to Op.

geesefs-0-30-9
Aaron Jacobs 2015-04-29 11:24:47 +10:00
parent 7caa68e3be
commit dbbb61ad10
1 changed files with 5 additions and 0 deletions

View File

@ -38,6 +38,11 @@ type Op interface {
// Repond to the operation with the supplied error. If there is no error, set
// any necessary output fields and then call Respond(nil).
Respond(error)
// Log information tied to this operation, with semantics equivalent to
// log.Printf, except that the format is different and logging is suppressed
// if --fuse.debug is not set.
Logf(format string, v ...interface{})
}
////////////////////////////////////////////////////////////////////////