☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
variadic10.go
☽
☼
_test/variadic10.go
code
plain
raw
symbols
SCIP
Apache-2.0
2019 Containous SAS; 2020 Traefik Labs SAS
debian/copyright
1
package
main
2
3
import
(
4
"log"
5
"os"
6
)
7
8
func
main() {
9
logger := log.
New
(os.
Stdout
,
"test "
, log.
Lmsgprefix
)
10
logger.
Printf
(
"args: %v %v"
,
1
,
"truc"
)
11
logger.
Printf
(
"args: %v %v %v"
,
1
,
"truc"
,
2
)
12
}
13
14
// Output:
15
// test args: 1 truc
16
// test args: 1 truc 2