github.com/sunvim/utils@v0.1.0/examples/log/log_ex.go (about)

     1  package main
     2  
     3  import (
     4  	"github.com/sunvim/utils/log"
     5  )
     6  
     7  func main() {
     8  	logger := log.NewLogger()
     9  
    10  	logger.Info().Str("hello", "world").Msg("main")
    11  
    12  }