more progress
This commit is contained in:
17
exp/log/main.go
Normal file
17
exp/log/main.go
Normal file
@ -0,0 +1,17 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"go.balki.me/tss/log"
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Println("vim-go")
|
||||
log.Info("does this work", "trycount", 1)
|
||||
// fmt.Sprint("ldskfjdsice")
|
||||
s := zap.S()
|
||||
s.Warnw("How does this look", "trycount", 2)
|
||||
s.Sync()
|
||||
}
|
Reference in New Issue
Block a user