diff --git a/fuseops/ops.go b/fuseops/ops.go index 4f4e38b..0166053 100644 --- a/fuseops/ops.go +++ b/fuseops/ops.go @@ -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{}) } ////////////////////////////////////////////////////////////////////////