Files
zapdb/y/event_log.go

21 lines
406 B
Go

/*
* SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
* SPDX-License-Identifier: Apache-2.0
*/
package y
import "golang.org/x/net/trace"
var (
NoEventLog trace.EventLog = nilEventLog{}
)
type nilEventLog struct{}
func (nel nilEventLog) Printf(format string, a ...interface{}) {}
func (nel nilEventLog) Errorf(format string, a ...interface{}) {}
func (nel nilEventLog) Finish() {}