Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger struct to log updates of telegram bot
func NewLogger ¶
NewLogger creates logger object, dirPath - logs directory. If dirPath is not directory - creates default logs directory in root path
func (*Logger) MessageLog ¶
MessageLog build log to file with name logger.dirPath + [date] + .log
Click to show internal directories.
Click to hide internal directories.