Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger *slog.Logger
Functions ¶
func ErrorsToStrings ¶
func GetStatusCode ¶
func InitStructLogger ¶
func InitStructLogger(level string)
Types ¶
type FileLogger ¶
type FileLogger struct {
// contains filtered or unexported fields
}
func NewFileLogger ¶
func NewFileLogger(fileName string, prefix string) *FileLogger
func (FileLogger) Close ¶
func (l FileLogger) Close()
func (FileLogger) Print ¶
func (l FileLogger) Print(v ...interface{})
Click to show internal directories.
Click to hide internal directories.