package
Version:
v1.2.9
Opens a new window with list of versions in this module.
Published: Jun 4, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
func Debug(v ...interface{})
Debug prints debug log
func Error(v ...interface{})
Error prints error log
func Errorf(format string, v ...interface{})
func Fatal(v ...interface{})
Fatal prints error log then stop the program
func Info(v ...interface{})
Info prints normal log
func Warn(v ...interface{})
Warn prints warning log
type Settings struct {
Path string `yaml:"path"`
Name string `yaml:"name"`
Ext string `yaml:"ext"`
TimeFormat string `yaml:"time-format"`
}
Settings stores config for logger
Source Files
¶
Click to show internal directories.
Click to hide internal directories.