Standard library / log

log.Llongfile

Full source path and line number. Expected stdout: '8\n'.

Formal Syntax & Structure

go syntaxgo
const Llongfile = 8

Working Example

Example Snippetgo
package main
import (  "fmt"  "log")
func main() { fmt.Println(log.Llongfile) }
Go Reference