MCPcopy
hub / github.com/etcd-io/bbolt / Logger

Method Logger

db.go:785–790  ·  db.go::DB.Logger
()

Source from the content-addressed store, hash-verified

783}
784
785func (db *DB) Logger() Logger {
786 if db == nil || db.logger == nil {
787 return getDiscardLogger()
788 }
789 return db.logger
790}
791
792func (db *DB) beginTx() (*Tx, error) {
793 // Lock the meta pages while we initialize the transaction. We obtain

Callers 15

mmapMethod · 0.95
munmapMethod · 0.95
munlockMethod · 0.95
mlockMethod · 0.95
initMethod · 0.95
BeginMethod · 0.95
SyncMethod · 0.95
allocateMethod · 0.95
growMethod · 0.95
CommitMethod · 0.80
WriteToMethod · 0.80
allocateMethod · 0.80

Calls 1

getDiscardLoggerFunction · 0.85

Tested by

no test coverage detected