Compare commits
No commits in common. "workspace" and "master" have entirely different histories.
2 changed files with 1 additions and 4 deletions
|
@ -22,6 +22,6 @@ func init() {
|
||||||
|
|
||||||
func Print(message ...any) {
|
func Print(message ...any) {
|
||||||
if Enabled {
|
if Enabled {
|
||||||
log.Println("["+Title+"]: ", message)
|
log.Println(Title, message)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
3
main.go
3
main.go
|
@ -16,7 +16,4 @@ func main() {
|
||||||
|
|
||||||
// Test debug.Print()
|
// Test debug.Print()
|
||||||
debug.Print("Hello World")
|
debug.Print("Hello World")
|
||||||
|
|
||||||
debug.Title = "Test Title"
|
|
||||||
debug.Print("Hello World")
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue