Documentation
¶
Index ¶
- Constants
- Variables
- func CloseLogFile()
- func Debug(format string, v ...interface{})
- func Error(format string, v ...interface{})
- func ErrorN(n int, format string, v ...interface{})
- func Fatal(format string, v ...interface{})
- func Fatalln(v ...interface{})
- func Info(format string, v ...interface{})
- func LCS(a, b string) int
- func LD(a, b string) int
- func Panic(format string, v ...interface{})
- func Println(v ...interface{})
- func SendMail(subject, body string)
- func SetLogFile(filename string)
- func Similarity(a, b string) float64
- func Upload(link string, file *os.File, filename, date string) ([]byte, error)
- func Warn(format string, v ...interface{})
- type EmailCache
- type Logger
Constants ¶
View Source
const ( FATAL = 0 PANIC = 1 ERROR = 2 WARN = 3 INFO = 4 DEBUG = 5 )
Variables ¶
View Source
var Level int64 = INFO
Functions ¶
func CloseLogFile ¶
func CloseLogFile()
func SetLogFile ¶
func SetLogFile(filename string)
Types ¶
type EmailCache ¶
type EmailCache struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.