Documentation
¶
Index ¶
- func Fatal(v ...any)
- func Fatalf(format string, v ...any)
- func Fatalln(v ...any)
- func Flags() int
- func Output(calldepth int, s string) error
- func Panic(v ...any)
- func Panicf(format string, v ...any)
- func Panicln(v ...any)
- func Prefix() string
- func Print(v ...any)
- func Printf(format string, v ...any)
- func Println(v ...any)
- func SetFlags(flag int)
- func SetOutput(w io.Writer)
- func SetPrefix(prefix string)
- func Writer() io.Writer
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fatal ¶
func Fatal(v ...any)
Fatal is equivalent to glob.Print() followed by a call to os.Exit(1).
func Fatalln ¶
func Fatalln(v ...any)
Fatalln is equivalent to glob.Println() followed by a call to os.Exit(1).
func Panic ¶
func Panic(v ...any)
Panic is equivalent to glob.Print() followed by a call to panic().
func Panicln ¶
func Panicln(v ...any)
Panicln is equivalent to glob.Println() followed by a call to panic().
func Print ¶
func Print(v ...any)
Print calls l.Output to print to the logger. Arguments are handled in the manner of fmt.Print.
func Printf ¶
Printf calls l.Output to print to the logger. Arguments are handled in the manner of fmt.Printf.
func Println ¶
func Println(v ...any)
Println calls l.Output to print to the logger. Arguments are handled in the manner of fmt.Println.
Types ¶
Click to show internal directories.
Click to hide internal directories.