mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-03-27 09:45:53 +00:00
13 lines
No EOL
234 B
Go
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...)
|
|
}
|
|
} |