mirror of
https://github.com/luxfi/zapdb.git
synced 2026-10-30 15:12:20 +00:00
21 lines
400 B
Go
21 lines
400 B
Go
/*
|
|
* SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc.
|
|
* 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() {}
|