package log

import "github.com/uber/tchannel-go/crossdock/log"

Index

Variables

var Enabled = false

Enabled controls logging

Functions

func Printf

func Printf(format string, v ...interface{})

Printf is the equivalent of standard log.Printf gated by Enabled flag

func Println

func Println(msg string)

Println is the equivalent of standard log.Println gated by Enabled flag

Source Files

logging.go

Version
v1.34.6 (latest)
Published
Jan 8, 2025
Platform
linux/amd64
Imports
1 packages
Last checked
2 days ago

Tools for package owners.