Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type HistorydbLogger
- func (fake *HistorydbLogger) Debugf(arg1 string, arg2 ...interface{})
- func (fake *HistorydbLogger) DebugfArgsForCall(i int) (string, []interface{})
- func (fake *HistorydbLogger) DebugfCallCount() int
- func (fake *HistorydbLogger) DebugfCalls(stub func(string, ...interface{}))
- func (fake *HistorydbLogger) Errorf(arg1 string, arg2 ...interface{})
- func (fake *HistorydbLogger) ErrorfArgsForCall(i int) (string, []interface{})
- func (fake *HistorydbLogger) ErrorfCallCount() int
- func (fake *HistorydbLogger) ErrorfCalls(stub func(string, ...interface{}))
- func (fake *HistorydbLogger) Infof(arg1 string, arg2 ...interface{})
- func (fake *HistorydbLogger) InfofArgsForCall(i int) (string, []interface{})
- func (fake *HistorydbLogger) InfofCallCount() int
- func (fake *HistorydbLogger) InfofCalls(stub func(string, ...interface{}))
- func (fake *HistorydbLogger) Invocations() map[string][][]interface{}
- func (fake *HistorydbLogger) Warnf(arg1 string, arg2 ...interface{})
- func (fake *HistorydbLogger) WarnfArgsForCall(i int) (string, []interface{})
- func (fake *HistorydbLogger) WarnfCallCount() int
- func (fake *HistorydbLogger) WarnfCalls(stub func(string, ...interface{}))
- type HistoryleveldbLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HistorydbLogger ¶
type HistorydbLogger struct { DebugfStub func(string, ...interface{}) ErrorfStub func(string, ...interface{}) InfofStub func(string, ...interface{}) WarnfStub func(string, ...interface{}) // contains filtered or unexported fields }
func (*HistorydbLogger) Debugf ¶
func (fake *HistorydbLogger) Debugf(arg1 string, arg2 ...interface{})
func (*HistorydbLogger) DebugfArgsForCall ¶
func (fake *HistorydbLogger) DebugfArgsForCall(i int) (string, []interface{})
func (*HistorydbLogger) DebugfCallCount ¶
func (fake *HistorydbLogger) DebugfCallCount() int
func (*HistorydbLogger) DebugfCalls ¶
func (fake *HistorydbLogger) DebugfCalls(stub func(string, ...interface{}))
func (*HistorydbLogger) Errorf ¶
func (fake *HistorydbLogger) Errorf(arg1 string, arg2 ...interface{})
func (*HistorydbLogger) ErrorfArgsForCall ¶
func (fake *HistorydbLogger) ErrorfArgsForCall(i int) (string, []interface{})
func (*HistorydbLogger) ErrorfCallCount ¶
func (fake *HistorydbLogger) ErrorfCallCount() int
func (*HistorydbLogger) ErrorfCalls ¶
func (fake *HistorydbLogger) ErrorfCalls(stub func(string, ...interface{}))
func (*HistorydbLogger) Infof ¶
func (fake *HistorydbLogger) Infof(arg1 string, arg2 ...interface{})
func (*HistorydbLogger) InfofArgsForCall ¶
func (fake *HistorydbLogger) InfofArgsForCall(i int) (string, []interface{})
func (*HistorydbLogger) InfofCallCount ¶
func (fake *HistorydbLogger) InfofCallCount() int
func (*HistorydbLogger) InfofCalls ¶
func (fake *HistorydbLogger) InfofCalls(stub func(string, ...interface{}))
func (*HistorydbLogger) Invocations ¶
func (fake *HistorydbLogger) Invocations() map[string][][]interface{}
func (*HistorydbLogger) Warnf ¶
func (fake *HistorydbLogger) Warnf(arg1 string, arg2 ...interface{})
func (*HistorydbLogger) WarnfArgsForCall ¶
func (fake *HistorydbLogger) WarnfArgsForCall(i int) (string, []interface{})
func (*HistorydbLogger) WarnfCallCount ¶
func (fake *HistorydbLogger) WarnfCallCount() int
func (*HistorydbLogger) WarnfCalls ¶
func (fake *HistorydbLogger) WarnfCalls(stub func(string, ...interface{}))
type HistoryleveldbLogger ¶
type HistoryleveldbLogger struct {
*HistorydbLogger
}
HistoryleveldbLogger is a wrapper to fakes.Logger so that we can overwrite Warnf.
func (*HistoryleveldbLogger) Warnf ¶
func (hl *HistoryleveldbLogger) Warnf(arg1 string, arg2 ...interface{})
Warnf copies byte array in arg2 and then delegates to fakes.Logger. We have to make the copy because goleveldb iterator reuses the byte array for keys and values for the Next() call.
Click to show internal directories.
Click to hide internal directories.