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 (
"fmt"
"log"
"runtime"
"github.com/jacobsa/bazilfuse"
@ -75,6 +76,10 @@ type MountConfig struct {
// chtimes, etc. will fail.
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.
//
// Normally on OS X we mount with the novncache option