Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
647ba373e7 |
2 changed files with 4 additions and 1 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,4 +16,7 @@ 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