mirror of
https://github.com/luxfi/zapdb.git
synced 2026-11-02 15:41:44 +00:00
21 lines
406 B
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() {}
|