Info("default level") glog.V(3).Info("Level 3 log") if glog.V(3) { fmt.Println("Changing log level to 5") flag.Lookup("v").Value.
確定! 回上一頁