Source File
log.go
Belonging Package
go101.org/nstd
package nstd
import (
)
// Different from log.Print, Log returns a true bool value,
// so that it can be used in
//
// _ = Debug && nstd.Log(...)
func ( ...any) bool {
log.Print(...)
return true
}
// Different from log.Printf, Logf returns a true bool value,
// so that it can be used in
//
// _ = Debug && nstd.Logf(...)
func ( string, ...any) bool {
log.Printf(, ...)
return true
}
// Different from log.Println, Logln returns a true bool value,
// so that it can be used in
//
// _ = Debug && nstd.Logln(...)
func ( ...any) bool {
log.Println(...)
return true
}
The pages are generated with Golds v0.7.0-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |