Added a LogF method to Op.
parent
7caa68e3be
commit
dbbb61ad10
|
@ -38,6 +38,11 @@ type Op interface {
|
||||||
// Repond to the operation with the supplied error. If there is no error, set
|
// Repond to the operation with the supplied error. If there is no error, set
|
||||||
// any necessary output fields and then call Respond(nil).
|
// any necessary output fields and then call Respond(nil).
|
||||||
Respond(error)
|
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{})
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue