Versions in this module Expand all Collapse all v1 v1.0.0 Sep 13, 2023 Changes in this version + func GregorianFormatter(t time.Time, format string) string + func JalaaliFormatter(t time.Time, format string) string + func NewFileLogger(path string, prefix string, tf string, f TimeFormatter) io.Writer + type Log interface + Print func(format string, params ...any) error + Tags func(tags ...string) Log + Type func(t string) Log + func NewLog(tf string, f TimeFormatter, typ string, writers ...io.Writer) Log + type Logger interface + AddWriter func(name string, writer io.Writer) + Divider func(divider string, count uint8, title string) error + Error func() Log + JSON func(data any) error + Log func() Log + Raw func(format string, params ...any) error + RemoveWriter func(name string) + Warning func() Log + func NewLogger(tf string, f TimeFormatter) Logger + type TimeFormatter func(t time.Time, format string) string