Documentation ¶
Index ¶
- func Fatal(v ...any)
- func Fatalf(format string, v ...any)
- func Fatalln(v ...any)
- func GetLogger() *log.Logger
- func InitLogger()
- func NewLogger(path string, prefix string) *log.Logger
- func Panic(v ...any)
- func Panicf(format string, v ...any)
- func Panicln(v ...any)
- func Print(v ...any)
- func Printf(format string, v ...any)
- func Println(v ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fatal ¶
func Fatal(v ...any)
Fatal is equivalent to l.Print() followed by a call to os.Exit(1).
func Fatalln ¶
func Fatalln(v ...any)
Fatalln is equivalent to l.Println() followed by a call to os.Exit(1).
func InitLogger ¶
func InitLogger()
func Panicln ¶
func Panicln(v ...any)
Panicln is equivalent to l.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
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 ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.