Added MountConfig.ErrorLogger.
parent
1731a357d7
commit
df7aea90d2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue