{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.4.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package floggingtest\n\n## Constants\n\n```go\nconst DefaultFormat = \"[%{module}] %{shortfunc} -\u003e %{level:.4s} %{id:04x} %{message}\"\n```\nDefaultFormat is a log encoding format that is mostly compatible with the default log format but excludes colorization and time.\n\n## Types\n\n```go\ntype Option func(r *RecordingCore, l *zap.Logger) *zap.Logger\n```\n\n```go\nfunc AtLevel(level zapcore.Level) Option\n```\n\n```go\nfunc Named(loggerName string) Option\n```\n\n```go\ntype Recorder struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewTestLogger(tb testing.TB, options ...Option) (*flogging.FabricLogger, *Recorder)\n```\n\n```go\nfunc (r *Recorder) Buffer() *gbytes.Buffer\n```\n\n```go\nfunc (r *Recorder) Entries() []string\n```\n\n```go\nfunc (r *Recorder) EntriesContaining(sub string) []string\n```\n\n```go\nfunc (r *Recorder) EntriesMatching(regex string) []string\n```\n\n```go\nfunc (r *Recorder) Messages() []string\n```\n\n```go\nfunc (r *Recorder) MessagesContaining(sub string) []string\n```\n\n```go\nfunc (r *Recorder) MessagesMatching(regex string) []string\n```\n\n```go\nfunc (r *Recorder) Reset()\n```\n\n```go\ntype RecordingCore struct {\n\tzapcore.LevelEnabler\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (r *RecordingCore) Check(e zapcore.Entry, ce *zapcore.CheckedEntry) *zapcore.CheckedEntry\n```\n\n```go\nfunc (r *RecordingCore) Sync() error\n```\n\n```go\nfunc (r *RecordingCore) With(fields []zapcore.Field) zapcore.Core\n```\n\n```go\nfunc (r *RecordingCore) Write(e zapcore.Entry, fields []zapcore.Field) error\n```\n\n```go\ntype TestingWriter struct{ testing.TB }\n```\n\n```go\nfunc (t *TestingWriter) Sync() error\n```\n\n```go\nfunc (t *TestingWriter) Write(buf []byte) (int, error)\n```\n\n","path":"github.com/eric-erki/https-hyperledger.org/common/flogging/floggingtest","name":"floggingtest","synopsis":"","isRedistributable":true}
