mirror of
https://github.com/yusing/godoxy.git
synced 2025-06-10 21:32:33 +02:00
12 lines
236 B
Go
12 lines
236 B
Go
//go:build debug
|
|
|
|
package stream
|
|
|
|
import (
|
|
"github.com/rs/zerolog"
|
|
"github.com/rs/zerolog/log"
|
|
)
|
|
|
|
func logDebugf(stream zerolog.LogObjectMarshaler, format string, v ...any) {
|
|
log.Debug().Object("stream", stream).Msgf(format, v...)
|
|
}
|