Added MountConfig.ErrorLogger.

geesefs-0-30-9
Aaron Jacobs 2015-05-25 14:09:23 +10:00
parent 1731a357d7
commit df7aea90d2
1 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,7 @@ package fuse
import ( import (
"fmt" "fmt"
"log"
"runtime" "runtime"
"github.com/jacobsa/bazilfuse" "github.com/jacobsa/bazilfuse"
@ -75,6 +76,10 @@ type MountConfig struct {
// chtimes, etc. will fail. // chtimes, etc. will fail.
ReadOnly bool ReadOnly bool
// A logger to use for logging errors. All errors are logged, with the
// exception of a few blacklisted errors that are expected.
ErrorLogger *log.Logger
// OS X only. // OS X only.
// //
// Normally on OS X we mount with the novncache option // Normally on OS X we mount with the novncache option