@@ -37,6 +37,7 @@ local default_config = {
37
37
cpp = [[ std::cout << "%log_target: " << %log_target << std::endl;]] ,
38
38
java = [[ System.out.println("%log_target: " + %log_target);]] ,
39
39
c_sharp = [[ Console.WriteLine($"%log_target: {%log_target}");]] ,
40
+ odin = [[ fmt.printf("%log_target: %v\n", %log_target)]] ,
40
41
},
41
42
plain = {
42
43
javascript = [[ console.log("%insert_cursor")]] ,
@@ -46,13 +47,14 @@ local default_config = {
46
47
lua = [[ print("%insert_cursor")]] ,
47
48
ruby = [[ puts("%insert_cursor")]] ,
48
49
elixir = [[ IO.puts(%insert_cursor)]] ,
49
- go = [[ log.Printf ("%insert_cursor")]] ,
50
+ go = [[ log.Println ("%insert_cursor")]] ,
50
51
rust = [[ println!("%insert_cursor");]] ,
51
52
python = [[ print("%insert_cursor")]] ,
52
53
c = [[ printf("%insert_cursor \n");]] ,
53
54
cpp = [[ std::cout << "%insert_cursor" << std::endl;]] ,
54
55
java = [[ System.out.println("%insert_cursor");]] ,
55
56
c_sharp = [[ Console.WriteLine("%insert_cursor");]] ,
57
+ odin = [[ fmt.println("%insert_cursor")]] ,
56
58
},
57
59
},
58
60
batch_log_templates = {
@@ -71,6 +73,7 @@ local default_config = {
71
73
cpp = [[ std::cout %repeat<<< "%log_target: " << %log_target>< << "\n " > << std::endl;]] ,
72
74
java = [[ System.out.printf("%repeat<%log_target=%s><, >%n", %repeat<%log_target><, >);]] ,
73
75
c_sharp = [[ Console.WriteLine($"%repeat<%log_target: {%log_target}><, >");]] ,
76
+ odin = [[ fmt.printf("%repeat<%log_target: %v><, >\n", %repeat<%log_target><, >)]] ,
74
77
},
75
78
},
76
79
log_marker = " 🪵" ,
0 commit comments