Browse Source

Merge branch 'ldf/0428' into master

pull/3/head
Frank 2 years ago
parent
commit
69d8ae7426
  1. 2
      go.mod
  2. 6
      print.go

2
go.mod

@ -1,4 +1,4 @@
module git.drinkme.beer/frank/log
module git.drinkme.beer/frank/log/v2
go 1.14 go 1.14

6
print.go

@ -5,3 +5,9 @@ import "time"
func Print() { func Print() {
Infof(time.Now().UTC().Format(time.RFC3339)) Infof(time.Now().UTC().Format(time.RFC3339))
} }
func PrintV2() {
Infof("=====> %s", time.Now().UTC().Format(time.RFC3339))
}
Loading…
Cancel
Save