vibetunnel/linux/pkg/session/util.go
2025-06-20 04:08:02 +02:00

13 lines
No EOL
234 B
Go

package session
import (
"log"
"os"
)
// debugLog logs debug messages only if VIBETUNNEL_DEBUG is set
func debugLog(format string, args ...interface{}) {
if os.Getenv("VIBETUNNEL_DEBUG") != "" {
log.Printf(format, args...)
}
}